Git Product home page Git Product logo

qfettes / curiositydrivenexplorationbyselfsupervisedprediction Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 6.0 173.38 MB

Reproduction of Curiosity-driven Exploration by Self-supervised Prediction in PyTorch

License: MIT License

Python 100.00%
a2c curiosity deep-learning deep-reinforcement-learning exploration gae neural-network python3 pytorch recurrent-neural-networks reinforcement-learning

curiositydrivenexplorationbyselfsupervisedprediction's People

Contributors

qfettes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

curiositydrivenexplorationbyselfsupervisedprediction's Issues

List index out of range

Hi, I am trying to train the code, but it appeared this issue.

Traceback (most recent call last):
File "a2c_devel.py", line 381, in
train(config)
File "a2c_devel.py", line 299, in train
last_reward_logged = tb_plot_from_monitor(writer, log_dir, np.mean(config.adaptive_repeat), last_reward_logged, 'episode length')
File "D:\ICM\utils\plot.py", line 420, in tb_plot_from_monitor
x, y = load_raw_eplength_data(log_dir, 1, 1) #load data
File "D:\ICM\utils\plot.py", line 395, in load_raw_eplength_data
t_time = float(tmp[2])
IndexError: list index out of range

Could you tell me how to fix this problem? Thanks

Some Questions

Hi,
your code can run but it would have an error when debugging as follows:
'UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1022-1023: unexpected end of data.'

 And in the 'ICM_A2C.py', the loss only consists of forward loss and inverse loss like this:   'total_forward_loss + total_inverse_loss'. However,  the loss defined in the paper including other loss.

 Could you give me some advice. Thank you for your reply.

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.