-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Remove TrainerMetrics and add CSVWriter using new StatsWriter API #3108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
9a16838
Split buffer into two buffers (PPO works)
55b2918
buffer split for SAC
38f5795
Fix buffer tests and truncate
453dd4c
Fix RL tests
b00f779
Fix demo loader and remaining tests
3b7191b
Remove MANIFEST file
9c47678
Add type hints to Buffer
a57a220
Rename append_update_buffer to append_to_update_buffer
efe29c8
Merge branch 'develop' into develop-splitbuffer
f5f9598
Non-working commit
f3459eb
Revert buffer for now
0b603c7
Another nonworking commit
ea6e79d
Runs but doesn't do anything yet
a264b48
Merge branch 'develop' into develop-agentprocessor
5e4f1bc
Use ProcessingBuffer in AgentProcessor
a5ac988
Convert to trajectory
a2e33e8
Looks like it's training
7004db8
Fix memory leak
0863ff5
Attempt reward reporting
88feb1b
Stats reporting is working
d6fe367
Clean up some stuff
8e43ecd
No longer using ProcessingBuffer for PPO
2b32d61
Move trajectory and related functions to trajectory.py
991be2c
Add back max_step logic
9b7969b
Merge branch 'master' of github.com:Unity-Technologies/ml-agents into…
5efd4e9
Remove epsilon
3bfe3df
Migrate SAC
f7649ae
Remove dead code
6b40d00
Move some common logic to buffer class
bf59521
Kill the ProcessingBuffer
68984df
Convert BC (warning) might be broken
12d4467
Fix some bugs for visual obs
2322150
Fixes for recurrent
2d084ed
Better decoupling for agent processor
295e3a0
Fix some of the tests
9334bb6
Add test for trajectory
93060b5
Fix BC and tests
3a3eb5b
Lots of test fixes
4c5bd73
Remove BootstrapExperience
1c95992
Move agent_id to Trajectory
a48e7f7
Add back next_obs
0053517
Fix test again
29797b1
Fix PPO value tests
e9dcdd9
Properly report value estimates and episode length
68a3b3d
Fix np float32 errors
6298731
Fix one more np float32 issue
cd4c09c
Merge branch 'master' into develop-agentprocessor
1a545c1
Fix some import errors
9452806
Make conversion methods part of NamedTuples
1052ad5
Add way to check if trajectory is done or max_reached
94c5f8c
Add docstring
866bf9c
Address AgentProcessor comments
03bd3e4
Allow None max steps
153368c
Merge branch 'master' into develop-agentprocessor
fd1312b
Fix tests
1a7fffd
Fix some mypy issues and remove unused code
d1b30b3
Fix numpy import
d9abe26
Remove defaultdict that didn't make sense
f090033
Fixed value estimate bug
6a1f275
Fix mypy issue
0f08718
Add stats reporter class and re-enable missing stats (#3076)
80a3359
Revert gitignore
a938d61
Normalize based on number of elements
63d6dd0
Add comment
82e8191
Merge branch 'master' into develop-agentprocessor
9a83b66
New way to update mean and var
c827581
Merge branch 'master' into develop-agentprocessor
89f9375
Fix tests
212cc3b
Add comments for normalization
10dcc1b
Remove dead code
2d72b06
Add type hints to rl_trainer
a0c76c7
Cleanup agent_processor
b1060e5
Make file creation safer
70f91af
Fix error message
8a44fc5
Clean up trajectory and splitobs
919a00b
Use .get for trainer_parameters
7122d39
Add test for normalization
cb1ec87
Float32 array in test
9d554bb
Fix comment in test
bf1ba10
Remove TrainerMetrics
9b89eff
Add CSVWriter StatsWriter
0359052
Add comment
d33c752
Merge branch 'master' into develop-csvwriter
14e7df7
Add required fields to CSVWriter
622cd7b
Fix test comments
40ebd20
Clean up if else
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: redundant? You do the same before the
with...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch - removed