Giter Club home page Giter Club logo

Comments (8)

mw66 avatar mw66 commented on May 18, 2024

BTW, it's on CPU since no GPU available.

from pytorch-a2c-ppo-acktr-gail.

ikostrikov avatar ikostrikov commented on May 18, 2024

Oh. I think I know what's wrong. Monitor didn't flush the results.

As a temporary solution you can wrap visdom_plot into try ... catch IOError: pass

I should avoid using logs for plotting. I will try to find a way to get numbers directly from the monitor.

from pytorch-a2c-ppo-acktr-gail.

ikostrikov avatar ikostrikov commented on May 18, 2024

Fixed in b8d4c2c

from pytorch-a2c-ppo-acktr-gail.

SerialIterator avatar SerialIterator commented on May 18, 2024

I am having this problem as well. I see it has been fixed and my main.py file is current. This is the error that matches the above although my string is much shorter.

visualize.py", line 65, in load_data
tmp = [t_time, int(tmp[1]), float(tmp[0])]
ValueError: could not convert string to float: '\x00-20.0'

I have never used visdom before but I run it using a seperate terminal window and see it open in browser. I see a new socket opened but nothing changes in browser. I am running Pong with PPO as suggested in the readme file and it trains without --vis but I can't figure out how to see anything using visdom even when I directly run the visualize.py file (which is missing num_steps arg in the visdom_plot call at the bottom) where I get the same ValueError.

from pytorch-a2c-ppo-acktr-gail.

IsaacKam avatar IsaacKam commented on May 18, 2024

I have the same issue as SerialIterator above, never manages to load the data , nothing pops up on visdom. Can't seem to find the monitor.csv files ( or where data is loaded into them). Thanks in advance for any advice!

from pytorch-a2c-ppo-acktr-gail.

ikostrikov avatar ikostrikov commented on May 18, 2024

I'm planning to deprecate visdom since there are better ways to visualize the data now.

from pytorch-a2c-ppo-acktr-gail.

IsaacKam avatar IsaacKam commented on May 18, 2024

from pytorch-a2c-ppo-acktr-gail.

ikostrikov avatar ikostrikov commented on May 18, 2024

Great! Could you create a pull request with the bug fix?

from pytorch-a2c-ppo-acktr-gail.

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.