SforAiDl / genrl

A PyTorch reinforcement learning library for generalizable and reproducible algorithm implementations with an aim to improve accessibility in RL
https://genrl.readthedocs.io
MIT License
404 stars 59 forks source link

Fix for Off Policy Trainer training time #374

Closed sampreet-arthi closed 3 years ago

sampreet-arthi commented 3 years ago

Fixes #367

codecov[bot] commented 3 years ago

Codecov Report

Merging #374 into master will increase coverage by 0.37%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #374      +/-   ##
==========================================
+ Coverage   90.77%   91.14%   +0.37%     
==========================================
  Files          89       89              
  Lines        3772     3774       +2     
==========================================
+ Hits         3424     3440      +16     
+ Misses        348      334      -14     
Impacted Files Coverage Δ
genrl/trainers/offpolicy.py 92.42% <100.00%> (+4.92%) :arrow_up:
genrl/agents/bandits/multiarmed/epsgreedy.py 96.29% <0.00%> (-3.71%) :arrow_down:
genrl/utils/utils.py 95.40% <0.00%> (+1.14%) :arrow_up:
genrl/environments/atari_preprocessing.py 93.33% <0.00%> (+2.22%) :arrow_up:
genrl/environments/time_limit.py 85.71% <0.00%> (+2.38%) :arrow_up:
genrl/agents/deep/sac/sac.py 93.33% <0.00%> (+3.33%) :arrow_up:
genrl/agents/deep/dqn/base.py 94.25% <0.00%> (+3.44%) :arrow_up:
genrl/agents/deep/td3/td3.py 93.10% <0.00%> (+5.17%) :arrow_up: