Giter Club home page Giter Club logo

rl_algorithms's Issues

alpha in Log space.

Hi. I'm just wondering why alpha get updated in 'log' space rather than in its own value.
Was doing that stable for entire training? Or any other reason?

# In https://github.com/medipixel/rl_algorithms/blob/master/algorithms/sac/agent.py

 # train alpha
        if self.hyper_params["AUTO_ENTROPY_TUNING"]:
            alpha_loss = (
                -self.log_alpha * (log_prob + self.target_entropy).detach()
            ).mean()

            self.alpha_optimizer.zero_grad()
            alpha_loss.backward()
            self.alpha_optimizer.step()

            alpha = self.log_alpha.exp()
        else:
            alpha_loss = torch.zeros(1)
            alpha = self.hyper_params["W_ENTROPY"]

README draft

README.md와 각 알고리즘에 대한 문서 작성

Is there any pretrained model provided?

Hello,
I'd like to use pretrained weight for the models (especially dqn.py for Pong), but I don't see one. If it exists, could you provide the link?

Thanks,

why a2c agent don't converge, Could any one help?

Hi, I run example a2c agent with lunarlander_continuous_v2 env with default hyper parameters for about 80K episode, but the total score is still about -500, Could any one help, please. By the way, I suspect it is because the reward is not normalize to mean 0.

[INFO] episode 86207    episode step: 58        total score: -549
total loss: -43826796714054.6172        policy loss: -46156932647123.8594       value loss: 2330135933069.2412

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.