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

[BugFix] Additive gaussian exploration spec fix #560

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Conversation

vmoens
Copy link
Contributor

@vmoens vmoens commented Oct 12, 2022

Description

Fixes a bug where a field in a tensorspec could be none but is not caught by AdditiveGaussian exploration wrapper

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 12, 2022
@codecov
Copy link

codecov bot commented Oct 12, 2022

Codecov Report

Merging #560 (6ffa099) into main (59b1f2b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   86.78%   86.78%           
=======================================
  Files         121      121           
  Lines       21667    21667           
=======================================
  Hits        18804    18804           
  Misses       2863     2863           
Flag Coverage Δ
linux-cpu 85.11% <100.00%> (ø)
linux-gpu 86.56% <100.00%> (ø)
linux-outdeps-gpu 75.25% <100.00%> (ø)
linux-stable-cpu 85.09% <100.00%> (ø)
linux-stable-gpu 86.56% <100.00%> (ø)
macos-cpu 84.87% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
torchrl/modules/tensordict_module/exploration.py 77.30% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vmoens vmoens added the bug Something isn't working label Oct 12, 2022
@vmoens vmoens merged commit 7cd07cb into main Oct 12, 2022
@vmoens vmoens deleted the fix_additivespec branch October 12, 2022 10:06
vmoens added a commit that referenced this pull request Oct 13, 2022
* [BugFix] Transformed ParallelEnv meta data are broken when passing to device (#531)

* [Doc] Add coverage banner (#533)

* add orb decov to circleci config.yml

* Add codecov badge to Readme

* Revert "[BugFix] Changing the dm_control import to fail if not installed (#515)"

This reverts commit d194735.

* codecov coverage w/o orb in circleci

* Revert "Revert "[BugFix] Changing the dm_control import to fail if not installed (#515)""

This reverts commit d0dc7de.

* [CI] generation of coverage reports (#534)

* update test scripts to add coverage

* update test scripts to add coverage

Co-authored-by: Silvestre Bahi <[email protected]>

* [CI] Add xml coverage reports for codecov (#537)

* update test scripts to add coverage

* update test scripts to add coverage

* generate xml file for coverage

* Update run_test.sh

lint end of file

* Update run_test.sh

lint end of file

* Update run_test.sh

lint end of file

Co-authored-by: Silvestre Bahi <[email protected]>

* permissions

* permissions

Co-authored-by: Silvestre Bahi <[email protected]>
Co-authored-by: silvestrebahi <[email protected]>

* [BugFix] Fix colab link of coding_dqn.ipynb (#543)

* [BugFix] Fix optional imports (#535)

* [BugFix] Restore missing keys in data collector output (#521)

* Ensure data collectors return all expected keys

* Rerun CI

* Add tests

* Format code

* correct unreachable test

* Fix broken test

* WIP: fix initialisation with policy + test

* Fix initialisation with policy + test

* Reset env after rollout initialisation

* fix build from spec

* Check policy has spec attribute before accessing

* Address comments

Co-authored-by: vmoens <[email protected]>

* [Lint] reorganize imports (#545)

[Lint] reorganize imports

* [BugFix] Single-cpu compatibility (#548)

* [BugFix] vision install and other deps in optdeps (#552)

* init

* amend

* amend

* amend

* [Feature] Implemented device argument for modules.models (#524)

Co-authored-by: Yu Shiyang <[email protected]>

* [BugFix] Fix ellipsis indexing of 2d TensorDicts (#559)

* [BugFix] Additive gaussian exploration spec fix (#560)

* [BugFix] Disabling video step for wandb (#561)

* [BugFix] Various device fix (#558)

* [Feature] Allow collectors to accept regular modules as policies (#546)

* [BugFix] Fix push binary nightly action (#566)

Fix Push Binary Nightly Action for linux hosts

Co-authored-by: Vincent Moens <[email protected]>
Co-authored-by: Silvestre Bahi <[email protected]>
Co-authored-by: silvestrebahi <[email protected]>
Co-authored-by: Bo Liu <[email protected]>
Co-authored-by: Tom Begley <[email protected]>
Co-authored-by: Alessandro Pietro Bardelli <[email protected]>
Co-authored-by: Yu Shiyang <[email protected]>
Co-authored-by: Yu Shiyang <[email protected]>
Co-authored-by: Pavel Solikov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants