December 2018
Intermediate to advanced
268 pages
8h 23m
English
Finally, to run the run.py code, we need to run create a shell script called run.sh, make it executable, and put the following code inside the script:
#/bin/bash# Training Stepxhost +docker run -it \ --runtime=nvidia \ --rm \ -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v $HOME/simGAN/out:/out \ -v $HOME/simGAN/src:/src \ ch7 python3 /src/run.py
To run this script, in the root directory of your simGAN chapter:
sudo ./run.sh
That completes the training section of the simGAN chapter. I encourage you to try other datasets with this architecture including experimenting with different loss functions.
Read now
Unlock full access