From ea6607894e1e7dd35065142a5d82d738c71f16f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Berm=C3=BAdez=20Schettino?= Date: Sat, 7 Dec 2019 02:10:24 +0100 Subject: [PATCH] Readme: Add options to commands to fix issues The Docker container is mapping port 8888 from guest to host but Tensorboard starts on port 6006. Add port option to tensorboard to start on the specified port. Add PYTHONPATH environment variable to python command in Docker section to solve issue with conflicting imports. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c85ecb0..2fecc4e 100755 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ In addition, please `pip install` the following packages: $ git clone git@github.com:openai/InfoGAN.git $ docker run -v $(pwd)/InfoGAN:/InfoGAN -w /InfoGAN -it -p 8888:8888 gcr.io/tensorflow/tensorflow:r0.9rc0-devel root@X:/InfoGAN# pip install -r requirements.txt -root@X:/InfoGAN# python launchers/run_mnist_exp.py +root@X:/InfoGAN# PYTHONPATH='.' python launchers/run_mnist_exp.py ``` ## Running Experiment @@ -33,5 +33,5 @@ PYTHONPATH='.' python launchers/run_mnist_exp.py You can launch TensorBoard to view the generated images: ```bash -tensorboard --logdir logs/mnist +tensorboard --port 8888 --logdir logs/mnist ```