Comments (4)
@Zhaocka Hi Zhaocka, I have the same problem as you, have you solved the problem?
from option-critic-pytorch.
Hey @Zhaocka, @Shi-YiWei, I am currently (slowly) working on a new version of this repository on the following branch: https://github.com/lweitkamp/option-critic-pytorch/tree/updated_oc. I could not find a way to remove the issue, so the codebase is completely rewritten. That version does converge for Cartpole-v0/v1 but I am trying to get a good parameter setting for Pong. Once that is found, I will merge the branch.
from option-critic-pytorch.
The problem is in actor_loss. There are some problems with it's logp and entropy. But I don't know why.
from option-critic-pytorch.
The issue ended up being how I access the state variable which is a PyTorch tensor. The latest commit fixes the issue!
from option-critic-pytorch.
Related Issues (9)
- Termination prob calculated over current state instead of the next state HOT 2
- continuous action space HOT 1
- Why not clean replay buffer after each episode for on-policy policy gradient update? HOT 4
- Actor called with a single sample 1/batchsize proportion of the time. HOT 1
- Should "--num-options 4" be added?
- Q[option] should also have a detach() when calculating ac_loss HOT 2
- Biased gradients HOT 2
- Got an error of inplace operation while running the code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from option-critic-pytorch.