Skip to content

Fix for building non-gpu version on mac `ERROR: ERROR: Failed to buil… #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions aiReadingClub/aiReadingClub.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"folders": [
{
"path": "."
},
{
"path": "../notebooks"
}
],
"settings": {}
}
19 changes: 19 additions & 0 deletions docker-compose.macOS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3'

services:
app:
build:
context: .
dockerfile: ./docker/Dockerfile.macOS
tty: true
volumes:
- ./data/:/app/data
- ./notebooks/:/app/notebooks
- ./scripts/:/app/scripts
ports:
- "$JUPYTER_PORT:$JUPYTER_PORT"
- "$TENSORBOARD_PORT:$TENSORBOARD_PORT"
env_file:
- ./.env
entrypoint: jupyter lab --ip 0.0.0.0 --port=$JUPYTER_PORT --no-browser --allow-root

29 changes: 29 additions & 0 deletions docker/Dockerfile.macOS
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update
RUN apt-get install -y unzip graphviz curl musescore3 python3-pip

RUN pip install --upgrade pip

# Install HDF5 using apt
RUN apt-get update
RUN apt-get remove libhdf5-dev
RUN apt-get install pkg-config -y libhdf5-dev

WORKDIR /app

RUN pip install h5py

COPY ./requirements.txt /app
RUN pip install -r /app/requirements.txt

# Hack to get around tensorflow-io issue - https://github.com/tensorflow/io/issues/1755
RUN pip install tensorflow-io
RUN pip uninstall -y tensorflow-io

COPY /notebooks/. /app/notebooks
COPY /scripts/. /app/scripts

ENV PYTHONPATH="${PYTHONPATH}:/app"
246 changes: 222 additions & 24 deletions notebooks/02_deeplearning/01_mlp/mlp.ipynb

Large diffs are not rendered by default.

319 changes: 294 additions & 25 deletions notebooks/02_deeplearning/02_cnn/cnn.ipynb

Large diffs are not rendered by default.

145 changes: 126 additions & 19 deletions notebooks/02_deeplearning/02_cnn/convolutions.ipynb

Large diffs are not rendered by default.

572 changes: 525 additions & 47 deletions notebooks/03_vae/01_autoencoder/autoencoder.ipynb

Large diffs are not rendered by default.

509 changes: 460 additions & 49 deletions notebooks/03_vae/02_vae_fashion/vae_fashion.ipynb

Large diffs are not rendered by default.

896 changes: 839 additions & 57 deletions notebooks/03_vae/03_vae_faces/vae_faces.ipynb

Large diffs are not rendered by default.

399 changes: 374 additions & 25 deletions notebooks/04_gan/01_dcgan/dcgan.ipynb

Large diffs are not rendered by default.