Giter VIP home page Giter VIP logo

Comments (10)

xuhuaren avatar xuhuaren commented on May 20, 2024 4

python -m visdom.server

from pytorch-cyclegan-and-pix2pix.

junyanz avatar junyanz commented on May 20, 2024 1

The visdom display functionality is turned on by default. To avoid the extra overhead of communicating with visdom set --display_id 0.

from pytorch-cyclegan-and-pix2pix.

junyanz avatar junyanz commented on May 20, 2024 1

If you want to use the visdom server, you should change the display_id to a non-zero value. To view training results and loss plots, run python -m visdom.server and click the URL http://localhost:8097.

from pytorch-cyclegan-and-pix2pix.

khryang avatar khryang commented on May 20, 2024

@xuhuaren, @junyanz thanks for your answer!! I'll do that.

from pytorch-cyclegan-and-pix2pix.

eliethesaiyan avatar eliethesaiyan commented on May 20, 2024

@junyanz , did change the display_id to 0 but whenever i start the visdom server,it shows nothing,is there any specific folder i should run it into?should i do it after training?

from pytorch-cyclegan-and-pix2pix.

Hunterwolf88 avatar Hunterwolf88 commented on May 20, 2024

added "--display_id 0" running train.py but I still get this error

from pytorch-cyclegan-and-pix2pix.

junyanz avatar junyanz commented on May 20, 2024

@Hunterwolf88 this seems to be strange. Could you post both your command line and the errors?

from pytorch-cyclegan-and-pix2pix.

snlee81 avatar snlee81 commented on May 20, 2024

I have same problem now. If I use --display "non-zero" value, it shows
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8889): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1ca74fb208>: Failed to establish a new connection: [Errno 111] Connection refused',)). Basically, visdom error. It seems visdom error is from bug.

So, I would set --display_id 0 up so that it turned off display. Then, no html and "checkpoints" folder and also no training is done.

from pytorch-cyclegan-and-pix2pix.

junyanz avatar junyanz commented on May 20, 2024

See this Q & A for more details. You need to install visdom and type python -m visdom.server.
@taesung89 Adding --display_id 0 should be able to perform training without visualization function. We will have a look at that.

from pytorch-cyclegan-and-pix2pix.

snlee81 avatar snlee81 commented on May 20, 2024

@junyanz

Yeah. I already install visdom and type "python -m visdom.server". It worked well but suddenly it doesn't work. I may need to install visdom again.

from pytorch-cyclegan-and-pix2pix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.