-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.9.6: Notebooks / Model Performance Evaluation (#10)
* Added: - Interpreter (Cleaner) with cleaner code / closer to fastai - To and From Pickle - to_csv Notes: - I tried doing a from_csv implementation, however I am seeing that something like this might not be possible unless using system stuff. Not sure when I will ever get to this. I have some ideas about saving images / states as files with file paths... Maybe to_csv generates a file system also? * Added: - Group Interpreter for combining model runs - Initial fixed dqn notebook (soft of) Fixed: - recorder callback ordering - renaming. It seems that fasti has some cool in-notebook test widgets that we might want to use in the future * Added: - Group Interpreter merging - DQN base notebook - Interpreters with by default close envs Fixed: - env closing <- might be a continuous issue due to different physics engines * Fixed: - setup.py fastai needs to be min 1.0.59 * Fixed: - cpu / device issues. * Added: - DQN Group Results - Reward Metric Notes: - I am realizing that we need sum reward smoothing. The graphs are way too messy. * Added: - Analysis property to the group interpretation * Fixed: - PER crashing due to containing 0 items * Added: - Group Interpretation value smoothing * Fixed: - Value smoothing making the reward values way too big - Tests take too long. If Image input, just do a shorter fit cycle - PER batch size not updating - Tests take too long. If Image input, just do a shorter fit cycle - cuda issues - Bounds n_possible_values is only calculated when used. Should make iteration faster. Added: - Smoothing for the scalar plotting * More test fixing * Fixed: - cuda issues * Added: - Lunary Lander performance test * Added: - minigrid compat - normalization module for dqns using Bounds object * Fixed: - Normalizing cuda error * Fixed: - DDPG cuda error * Fixed: - pybullet human rendering. Pybullet renders differently from regular openai envs. Basically if you want to see what is happening, the ender method needs to be executed prior to reset. Added: - DDPG testing - ddpg env runs - more results - more ddpg tests - walker2d data * Fixed: - Possibly pybullet envs from crashing. There was an issue where the pybullet wrapper was not being added :( * Version 0.9.5 mass refactor (#12) * Added: - Refactored DQN code - DQN learner basic Fixed: - DQN model crashing * Added: - All DQNs pass tests * Fixed: - Some dqn / gym_maze / embedding related crashes - DQN test code and actual DQN tests * Added: - Maze heap map interpreter - Started q value interpreter * Fixed: - DDPG GPU issue. Sampling / action and state objects support to device calls. - DQN GPU issue. - azure pipeline test * Updated: - jupyter notebooks * Removed: - old code files * Fixed: - metrics, ddpg tests * Added: - basic q value plotting - basic q value plotting for ddpg * Updated Version * Changed: - Setup.py excludes some third arty packages due to pypi restriction. Need to find a way around this. * Removed: - old code from README. Revisions coming. * Added: - batch norm toggling. For now / forever defaulted to false * Version 0 9 5 mass refactor (#13) * Added: - revised test script - Slowly adding tests. * Fixed: - somehow trained_learner method in test was completely broken * Added: - Interpreter edge control. can also show average line * Fixed: - models being all shitty. Apparently, batch norm reaaally screws them up. If you use batch norm, the batch size needs to be massive (128 wasnt large enough). By default, you can kind of turn off batch_norm in the Tabular models, but they still, when given a continuous input, will have an entry batch norm. I over-wrote it and now they work significantly better :) * Updated: - gitignore
- Loading branch information
Showing
83 changed files
with
4,726 additions
and
2,385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Install pybullet | ||
git clone https://github.com/benelot/pybullet-gym.git | ||
cd pybullet-gym | ||
pip install -e . | ||
cd ../ | ||
## Install pybullet | ||
#git clone https://github.com/benelot/pybullet-gym.git | ||
#cd pybullet-gym | ||
#pip install -e . | ||
#cd ../ | ||
|
||
# Install gym_maze | ||
git clone https://github.com/MattChanTK/gym-maze.git | ||
cd gym-maze | ||
python setup.py install | ||
cd ../ | ||
## Install gym_maze | ||
#git clone https://github.com/MattChanTK/gym-maze.git | ||
#cd gym-maze | ||
#python setup.py install | ||
#cd ../ | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+33.5 KB
docs_src/data/cartpole_dqn fixed targeting/dqn fixed targeting_er_rms.pickle
Binary file not shown.
Binary file added
BIN
+33.5 KB
docs_src/data/cartpole_dqn fixed targeting/dqn fixed targeting_per_rms.pickle
Binary file not shown.
Binary file added
BIN
+33.7 KB
docs_src/data/cartpole_dqn/dqn_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.7 KB
docs_src/data/cartpole_dqn/dqn_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+147 KB
docs_src/data/halfcheetah_ddpg/ddpg_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+147 KB
docs_src/data/halfcheetah_ddpg/ddpg_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_dddqn/dddqn_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_dddqn/dddqn_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_ddqn/ddqn_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_ddqn/ddqn_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
...narlander_dqn fixed targeting/dqn fixed targeting_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
...r_dqn fixed targeting/dqn fixed targeting_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_dqn/dqn_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_dqn/dqn_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/lunarlander_dueling dqn/dueling dqn_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
.../data/lunarlander_dueling dqn/dueling dqn_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/mountaincarcontinuous_ddpg/ddpg_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+13.6 KB
..._src/data/mountaincarcontinuous_ddpg/ddpg_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+613 Bytes
docs_src/data/mujocoreach_ddpg/ddpg_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+645 Bytes
docs_src/data/mujocoreach_ddpg/ddpg_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/pendulum_ddpg/ddpg_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+33.6 KB
docs_src/data/pendulum_ddpg/ddpg_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+59 KB
docs_src/data/walker2d_ddpg/ddpg_ExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Binary file added
BIN
+118 KB
docs_src/data/walker2d_ddpg/ddpg_PriorityExperienceReplay_FEED_TYPE_STATE.pickle
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.