Skip to content
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

Rework Envs #89

Merged
merged 474 commits into from
Aug 8, 2023
Merged

Rework Envs #89

merged 474 commits into from
Aug 8, 2023

Conversation

benjamc
Copy link
Collaborator

@benjamc benjamc commented May 25, 2023

  • New CARL env
  • Port classic control
  • Port brax
  • Port dmc
  • Port box2d
  • Port mario
  • Port RNA
  • Add unit tests for new CARL env

@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Merging #89 (43b7cff) into development (04543d8) will decrease coverage by 3.43%.
The diff coverage is 35.19%.

Additional details and impacted files
@@               Coverage Diff               @@
##           development      #89      +/-   ##
===============================================
- Coverage        22.48%   19.05%   -3.43%     
===============================================
  Files               76       78       +2     
  Lines             4479     4030     -449     
  Branches           565      555      -10     
===============================================
- Hits              1007      768     -239     
+ Misses            3423     3224     -199     
+ Partials            49       38      -11     

Impacted file tree graph

"""
return [
UniformFloatHyperparameter(
"gravity", lower=0.1, upper=np.inf, default_value=9.8
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ask Eddie about np.inf as bounds in uniform

@benjamc benjamc requested a review from TheEimer June 9, 2023 12:57
carl/envs/carl_env_new.py Outdated Show resolved Hide resolved
carl/envs/carl_env_new.py Outdated Show resolved Hide resolved
carl/envs/carl_env_new.py Outdated Show resolved Hide resolved
carl/envs/carl_env_new.py Outdated Show resolved Hide resolved
carl/envs/carl_env_new.py Outdated Show resolved Hide resolved

return spaces.Box(low=low, high=high, dtype=np.float32)

def sample_contexts(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Remove sample contexts

@TheEimer
Copy link
Contributor

I updated Mario and RNA but couldn't test either:

  • Mario doesn't work on MAC
  • there are not install instructions for RNA and last time I managed was on an older python.

So I'd add:

  • Add install instructions for RNA
  • Test Mario
  • Test RNA

Carolin Benjamins and others added 5 commits July 20, 2023 13:32
* Extend gitignore

* Add DMC Finger (current status)

* current status

* Current status

* Current status

* Current status

* Format

* Format + pre-commit

* Remove test notebook

* Add method to check if it is okay to set context feature

Because we might have incomplete contexts

* Add more tests

* Format

* Format

* Merge main

* gravity bounds

* More tests

* Correct gravity bounds

Co-authored-by: Carolin Benjamins <benjamins@tnt.uni-hannover.de>
Co-authored-by: sebidoe <45859263+sebidoe@users.noreply.github.com>
* Fix format, fix tests

* Fix format

* Increase coverage

* Remove test code

* Add more tests

Co-authored-by: Carolin Benjamins <benjamins@tnt.uni-hannover.de>
amsks and others added 21 commits August 8, 2023 10:59
* update install_requires

* §

* fix imports: gym → gymnasium

* fix step function

* fix step

* gym->gymnasium

* §

* fix

* fix

* fix

* fix

* fix

* fix render

* .

* fix all step returns

* Delete build/lib/carl directory

* Delete myenv directory

* Update README.md

Fix documentation link.

* make pre-commit and format

* rename every occurrence of trunched to truncated

* @Arman717

* change trunched to truncated

* Fix gymnasium version with box2d

---------

Co-authored-by: C. Benjamins <75323339+benjamc@users.noreply.github.com>
@TheEimer TheEimer marked this pull request as ready for review August 8, 2023 10:30
@TheEimer TheEimer merged commit c525c65 into development Aug 8, 2023
8 of 9 checks passed
@TheEimer TheEimer deleted the feature/envrework branch August 8, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants