-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add rgb observation to dagger #802
Open
ZiyueWang25
wants to merge
86
commits into
master
Choose a base branch
from
795-rgb-obs-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
5182ecf
first pass of dict obs functionality
NixGD 61d816b
cleanup DictObs
NixGD c3331f6
add dict space to test_types.py, fix some problems
NixGD fc9838d
add dict-obs test for rollout
NixGD fb9498b
add bc.py test
NixGD e54c36c
cleanup
NixGD ee04383
small fixes
NixGD 6e2218a
small fixes
NixGD 68fe666
fix type error in interactive.py
NixGD 9ad2aaf
fix introduced error in mce_irl.py
NixGD 67341d5
fix minor ci complaint
NixGD c497b56
add basic dictobs tests
NixGD d3f79bf
change default bc policy for dict obs space
NixGD 2de9e49
refine rollout.py typechecks, comments
NixGD c47cca6
check rollout produces dictobs of correct shape
NixGD 276294b
cleanup types and dictobs helpers
NixGD 071d2a7
clean useless lines
NixGD a2ccd7e
clean up print statements
NixGD 93baa2d
fix typos
NixGD 54f33af
assert matching keys in from_obs_list
NixGD c711abf
move maybe_wrap, clean rollout
NixGD 58a0d70
change policy callable to take dict[str, np.ndarray] not dictobs
NixGD 0f080d4
rollout info wrapper supports dictobs
NixGD c4d3e11
fix from_obs_list key consistency check
NixGD b93294a
xfail save/load tests with dictobs
NixGD 3f17ff2
doc for dictobs wrapper
NixGD 0212e0e
don't error on int observations
NixGD 070ebf9
lint fixes
NixGD 657e17e
cleanup bc test for dict obs
NixGD 1f8c12a
cleanup bc.py unwrapping
NixGD bd70ecd
cleanup rollout.py
NixGD bec464c
cleanup dictobs interface
NixGD bef19e6
small cleanups
NixGD 9aaf73f
coverage fixes, test fix
NixGD 5d6aa77
adjust error types
NixGD 86fbcf1
docstrings for type helpers
NixGD 8d1e0d6
add dict obs space support for density
NixGD 96978d5
fix typos
NixGD e95df9d
Adam suggestions from code review
NixGD 161ec95
small changes for code review
NixGD 90bdf57
fix docstring
NixGD 6aa25ff
remove FloatReward
ZiyueWang25 bf48c76
Merge remote-tracking branch 'origin/master' into support-dict-obs-space
ZiyueWang25 4ce1b57
Fix test_bc
ZiyueWang25 de1b1c8
Turn off GPU finding to avoid using gpu device
ZiyueWang25 1a1a458
Check None to ensure __add__ can work
ZiyueWang25 f7866f4
fix docstring
ZiyueWang25 daa838d
bypass pytype and lint test
ZiyueWang25 803eab0
format with black
ZiyueWang25 0ac6f54
Test dict space in density algo
ZiyueWang25 be9798b
black format
ZiyueWang25 c7e6809
small fix
ZiyueWang25 82fb558
Add DictObs into test_wrappers
ZiyueWang25 03714cc
fix format
ZiyueWang25 187e881
minor fix
ZiyueWang25 ae96521
type and lint fix
ZiyueWang25 535a986
Add policy training test
ZiyueWang25 de027c4
suppress line too long lint check on a line
ZiyueWang25 4caa151
acts to obs for clarity
ZiyueWang25 20c6f56
Add HumanReadableWrapper
ZiyueWang25 aaf94da
adjust wrapper and not set render_mode inside
ZiyueWang25 ef53690
fix dict env observation space
ZiyueWang25 df35e3a
add RemoveHumanReadableWrapper and update ob space
ZiyueWang25 a69e052
Remove some unnecessary helper functions
ZiyueWang25 c6ed675
include rgb obs to dagger algo
ZiyueWang25 d7d8db1
add wrappers tests and fix linter and typing
ZiyueWang25 5dd1699
change ob to obs
ZiyueWang25 8481890
allow not only dict type obs in dagger
ZiyueWang25 b0d8d4b
fix lint and test
ZiyueWang25 12b60b2
fix type and test
ZiyueWang25 afbbe46
Merge branch 'master' of github.com:HumanCompatibleAI/imitation into …
ZiyueWang25 5036fcf
fix type
ZiyueWang25 3f23de1
resolve typing issue
ZiyueWang25 a44b193
Remove wrong type annotation in test
ZiyueWang25 1073967
Merge branch 'master' of github.com:HumanCompatibleAI/imitation into …
ZiyueWang25 ae17588
resolve conflict
ZiyueWang25 f140035
add policy wrapper
ZiyueWang25 9a00e68
small fix
ZiyueWang25 052cf00
fix the data and policy wrappers
ZiyueWang25 c63761c
Use ObservationWrapper
ZiyueWang25 468f621
update naming
ZiyueWang25 3c6def5
update tests
ZiyueWang25 68d1ac2
update tests
ZiyueWang25 125d19d
update demo
ZiyueWang25 f8ebbc4
rgb to hr
ZiyueWang25 33162b2
small fix
ZiyueWang25 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 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
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
Oops, something went wrong.
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.
Copy-and-pasted comment doesn't make sense out of context (what is
self
here?)