jerryli27 / TwinGAN

Twin-GAN -- Unpaired Cross-Domain Image Translation with Weight-Sharing GANs
Apache License 2.0
719 stars 98 forks source link

Issue ERROR:tensorflow:Cannot parse hostport #28

Open zhenwei2972 opened 5 years ago

zhenwei2972 commented 5 years ago

Hello, I have tried to run the web interface sample following the documents on a windows docker environment but have run into this tensorflow issue after launching the website. Am unable to find any relevant ways to resolve in online, could I get a clue on what I may have done wrong?

this only occurred after I set the PYTHONPATH to twinGAN, installed typing and various other modules and then finally launched it.

this are the steps I took to reach this error

//set up docker with tensorflow image docker run -it -p 8888:8888 -p 6006:6006 -p 9000:9000 -p 8000:8000 -v //c/Users/asceansion/desktop/tgan:/home tensorflow/tensorflow //set path to allow appropriate access to modules export PYTHONPATH="$PWD/twingan" //install correct dependencies pip install -U -r requirement.txt

//start server to host web demo python /home/tgan2/twingan/interface/server.py --twingan_server=localhost:9000 --twingan_server=localhost:9000

cd /PATH/TO/TwinGAN/interface python /home/tgan2/twingan/interface/server.py \ --twingan_server=localhost:9000 \ --image_hw=256 \ --gpu=1

jonlwowski012 commented 4 years ago

I have the same issue. If I figure it out, i will post it here.

jonlwowski012 commented 4 years ago

I figured out it was due to initializing DT_CLIENT as a global here without a host or port

This is not an issue because DT_CLIENT gets updated here