The official code repository for the second edition of the O'Reilly book Generative Deep Learning: Teaching Machines to Paint, Write, Compose and Play.
In this PR, we fix 1 issue and make few other no-op improvements.
Fix
The issue is when running docker compose build, I'm seeing the issue with installing h5py (required by tensorflow), as follows:
...
21.92 Building h5py requires pkg-config unless the HDF5 path is explicitly specified using the environment variable HDF5_DIR. For more information and details, see https://docs.h5py.org/en/stable/build.html#custom-installation
21.92 error: pkg-config probably not installed: FileNotFoundError(2, 'No such file or directory')
21.92 [end of output]
21.92
21.92 note: This error originates from a subprocess, and is likely not a problem with pip.
The solution is to installed the required Linux packages to the Dockerfile. After that, it runs as expected in bringing up the Jupyter server locally.
Improvements
Line sorting in requirements.txt
Line sorting in Dockerfiles
Do not require password/token for the Jupyter server
In this PR, we fix 1 issue and make few other no-op improvements.
Fix
The issue is when running
docker compose build
, I'm seeing the issue with installingh5py
(required bytensorflow
), as follows:The solution is to installed the required Linux packages to the
Dockerfile
. After that, it runs as expected in bringing up the Jupyter server locally.Improvements
requirements.txt