Coder Social home page Coder Social logo

eloialonso / diamond Goto Github PK

View Code? Open in Web Editor NEW
197.0 197.0 9.0 12.54 MB

DIAMOND (DIffusion As a Model Of eNvironment Dreams) is a reinforcement learning agent trained in a diffusion world model.

Home Page: https://arxiv.org/abs/2405.12399

License: MIT License

Shell 0.07% Python 99.93%
artifical-intelligense atari deep-learning diffusion-models machine-learning reinforcement-learning research world-models

diamond's Issues

DDPM sampling code

Dear Authors,

I noticed that you also omplemented DDPM sampling method in your paper. Could you upload those codes as well.

Sincerely.

Details fading out as diffusion model training goes on

Hi,

I met some problems with the diffusion model training. For my project I resize the game frame to gray scale with size 84*84.
Early training reconstruct This is the reconstruction during early stage training.
att230 And this is the reconstruction result as training goes on, where the details on the image are fading out.

Could you give me some advice on this problem?

Sincerely.

About training time

Hi, thanks for such a great job!
You mentioned in your paper that "As a reference, unconstrained Atari agents are usually trained for 50 million steps" and "Each run utilized around 12GB of VRAM and took approximately 2.9 days on a single Nvidia RTX 4090".

I noticed that in your code, the outer loop that calls self.train_agent() is called 1000 times. The inner loop that trains the agent self.train_component(name, steps) is called 5000 times.
This is equivalent to the agent training 1000*5000 steps. The time corresponding to the inner loop is [496/5000 [12:59<1:09:31, 1.08it/s] about 1 hours.
So I guess the total time is about 1000 hours, and this is just for training agent model.
Did I overlook something ? And what should I do to reproduce the training time? @eloialonso @AdamJelley

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.