GithubHelp home page GithubHelp logo

BUG about iqn-and-extensions HOT 6 CLOSED

by571 avatar by571 commented on June 12, 2024
BUG

from iqn-and-extensions.

Comments (6)

BY571 avatar BY571 commented on June 12, 2024

hey,

you mean the memory usage is steadily increasing?
how big is your replay buffer? remember that each tuple in the buffer consists of two states so two (4, 84, 84).

haven't really tested the algorithm for several hours yet, but I can try later.

from iqn-and-extensions.

THSWind avatar THSWind commented on June 12, 2024

@BY571 yes, it increasing until killed by system.
the size of replay buffer is 1,000,000.

I tested it of course, several games. They were all killed in several hours(about 3 ~ 5 hours), no exception.

from iqn-and-extensions.

BY571 avatar BY571 commented on June 12, 2024

@THSWind How much memory do you have on your GPU or in general? I know from my PC that it cant handle 1mio samples in the replay buffer.
however you could try to save the sates as dtype=np.uint8 this should reduce memory

from iqn-and-extensions.

THSWind avatar THSWind commented on June 12, 2024

@BY571 This machine's memory is 64G. (2080Ti GPU).
Have you really tested the code implementation? Run 20000000 steps or see if it can complete the training task properly?
I will try it as you say to save the sates as dtype=np.uint8 , but I don't think it's the root of the problem.
buddy, I'm following up on your work. It is important for me~

from iqn-and-extensions.

BY571 avatar BY571 commented on June 12, 2024

I trained on the Pong environment several times and had no problems even though with a 10.000 replay buffer since my system does not have that much memory.

from iqn-and-extensions.

BY571 avatar BY571 commented on June 12, 2024

@THSWind if you want to discuss the problem you can join this discord channel: https://discord.gg/kHrBHC

from iqn-and-extensions.

Related Issues (6)

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.