Comments (4)
Contributed by Sergey Kolesnikov:
no GLX on GPU nodes
GLXInfoException: pyglet requires an X server with GLX
Solution: re-install GPU drivers without opengl.
openai/gym#366
https://davidsanwald.github.io/2016/11/13/building-tensorflow-with-gpu-support.html
from practical_rl.
Game ends in 200 ticks
The current newest version of gym force-stops environment in 200 steps even if you don't use env.monitor.
This may ruin CEM on MountainCar and others.(week1 homework)
To avoid this, use env = gym.make("MountainCar-v0").env
from practical_rl.
For the bonus part of week 0 homework, what is the expected time to solve "taxi-v1" with a genetic algorithm? The problem is that game ends in 200 ticks and in the end all policies in the pool are stuck at -200. Then I tried not to monitor the is_done
flag and tried to monitor when the reward
is 20 instead. I found that it would probably take several days to get a score of -100 on my notebook (CPU=i5). So I interrupted the process. I just want to check is it normal to take such a long time?
Below is what I got in 8 hours (I set t_max
= 11000).
Epoch 0:
best score: -44656.76
Epoch 1:
best score: -42678.38
Epoch 2:
best score: -42678.56
Epoch 3:
best score: -32778.74
Epoch 4:
best score: -32778.74
Epoch 5:
best score: -44657.84
Epoch 6:
best score: -42678.56
Epoch 7:
best score: -38718.74
Epoch 8:
best score: -38717.12
Epoch 9:
best score: -38718.74
Epoch 10:
best score: -36738.02
Epoch 11:
best score: -32777.84
Epoch 12:
best score: -38717.12
Epoch 13:
best score: -36738.02
Epoch 14:
best score: -32779.1
Epoch 15:
best score: -28819.28
Epoch 16:
best score: -30799.28
Epoch 17:
best score: -30799.64
Epoch 18:
best score: -32779.28
Epoch 19:
best score: -30800.0
Epoch 20:
best score: -32779.1
Epoch 21:
best score: -30799.1
Epoch 22:
best score: -32777.48
Epoch 23:
best score: -32778.38
Epoch 24:
best score: -30799.64
from practical_rl.
For the record, we fixed it by removing time limit (env = gym.make('Taxi-v1').env)
from practical_rl.
Related Issues (20)
- Remove mentions of python2 from week7/practice
- PyTorch notebooks should detect GPU and run on it if it's available
- Backport changes from PyTorch version of DQN Atari into the TF notebook
- Complete code HOT 1
- Week 1: Incorrect "Reflecting on results" HOT 2
- Colab no longer bundles Atari ROMs in their Gym installation HOT 1
- The links can't be opened now HOT 2
- class DQN uses global variable in assert
- CrossEntropy Exercise not working despite every step being marked as correct HOT 1
- Week2 Seminar-VI frozen lake problem HOT 1
- Equation of state-action value function in seminar_vi week 02 HOT 2
- Can I get answer for my confusion in week07_seq2seq/practice_torch
- In Coursera branch, why do the last commit deleted the grading module for week1? HOT 2
- Issue with Slides in Materials of #4 HOT 5
- Videos of Week 05 have issues of not being shown
- Is it still possible to submit assignments to coursera? HOT 5
- `week09_policy_II` – `trpo` slides has an invalid link HOT 4
- Questioning Regards Conjugate Gradient Algorithm HOT 1
- week06_policy_based - invalid link
- The link for OpenAI recommended reading material is not working anymore
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 practical_rl.