rlworkgroup / garage

A toolkit for reproducible reinforcement learning research.
MIT License
1.84k stars 309 forks source link

Preserve sac log alpha when moving between CPU and GPU #2260

Closed ziyiwu9494 closed 3 years ago

codecov[bot] commented 3 years ago

Codecov Report

Merging #2260 (004146b) into master (f056fb8) will increase coverage by 0.36%. The diff coverage is 84.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2260      +/-   ##
==========================================
+ Coverage   90.90%   91.27%   +0.36%     
==========================================
  Files         199      199              
  Lines       11606    10943     -663     
  Branches     1552     1379     -173     
==========================================
- Hits        10551     9988     -563     
+ Misses        792      694      -98     
+ Partials      263      261       -2     
Impacted Files Coverage Δ
src/garage/torch/_functions.py 94.16% <71.42%> (-0.98%) :arrow_down:
src/garage/torch/algos/sac.py 97.12% <100.00%> (-1.66%) :arrow_down:
src/garage/torch/algos/trpo.py 91.30% <0.00%> (-3.44%) :arrow_down:
src/garage/experiment/deterministic.py 87.09% <0.00%> (-3.23%) :arrow_down:
src/garage/torch/algos/dqn.py 93.02% <0.00%> (-2.14%) :arrow_down:
...rage/tf/optimizers/conjugate_gradient_optimizer.py 81.90% <0.00%> (-1.81%) :arrow_down:
src/garage/np/_functions.py 77.39% <0.00%> (-1.74%) :arrow_down:
src/garage/torch/optimizers/differentiable_sgd.py 88.46% <0.00%> (-1.54%) :arrow_down:
src/garage/torch/algos/pearl.py 48.64% <0.00%> (-1.12%) :arrow_down:
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f056fb8...004146b. Read the comment docs.