Closed ChameleonScales closed 3 years ago
The issue might be that the docker base image is build using a gpu base image.
In docker/Dockerfile
you could change from tensorflow/tensorflow:1.8.0-gpu-py3
to from tensorflow/tensorflow:1.8.0-py3
, execute the docker build step and runGan.py 1
should work on the CPU.
Thanks, it works great!
In the readme, under "Install the NVIDIA Container Toolkit" it says:
So if I understand correctly, we can chose to use the CPU instead? If so, I didn't find how to do it.
I tried removing
--gpus all
from thedocker run
command but then when launchingrunGan.py 1
I got :If using the CPU on the run case 1 is possible, I would like to do it for the following reasons: