davidADSP / Generative_Deep_Learning_2nd_Edition

The official code repository for the second edition of the O'Reilly book Generative Deep Learning: Teaching Machines to Paint, Write, Compose and Play.
https://www.oreilly.com/library/view/generative-deep-learning/9781098134174/
Apache License 2.0
1.08k stars 404 forks source link

Setting up Google Cloud VM #21

Closed pdodic closed 11 months ago

pdodic commented 11 months ago

I've been trying for a while to set up and run the docker container in Google Cloud's VM. I cannot resolve an issue I keep having at the final step. I can build the Docker image in the VM instance without issues, but whenever I try to run it with docker compose -f docker-compose.gpu.yml up I get the following error message:

`[+] Running 2/1 ✔ Network generative_deep_learning_2nd_edition_default Created
✔ Container generative_deep_learning_2nd_edition-app-1 Created
Attaching to generative_deep_learning_2nd_edition-app-1

Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]`

I cannot figure out what might be going wrong. Any suggestions would greatly help!