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
403 stars 59 forks source link

Fixed imports on Examples on readme. #280

Closed DarylRodrigo closed 4 years ago

DarylRodrigo commented 4 years ago

When installing the genrl library and tried to run the example programs there were some issues.

codecov[bot] commented 4 years ago

Codecov Report

Merging #280 into master will increase coverage by 0.03%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #280      +/-   ##
==========================================
+ Coverage   89.62%   89.65%   +0.03%     
==========================================
  Files          87       87              
  Lines        3748     3752       +4     
==========================================
+ Hits         3359     3364       +5     
+ Misses        389      388       -1     
Impacted Files Coverage Δ
genrl/trainers/base.py 88.23% <ø> (ø)
genrl/trainers/classical.py 86.00% <ø> (ø)
genrl/trainers/onpolicy.py 92.00% <0.00%> (ø)
genrl/environments/vec_env/vector_envs.py 92.46% <0.00%> (+0.21%) :arrow_up:
genrl/agents/classical/sarsa/sarsa.py 100.00% <0.00%> (+3.84%) :arrow_up:
Sharad24 commented 4 years ago

Thanks for the PR!