HumanCompatibleAI / adversarial-policies

Find best-response to a fixed policy in multi-agent RL
MIT License
275 stars 47 forks source link

Generate videos for experiments #11

Closed AdamGleave closed 5 years ago

AdamGleave commented 5 years ago

Features added:

Changes that are only in visualize.* can be a light review -- we aren't going to be building on this code for anything important. But changes to score_agent, Dockerfile, etc should be scrutinized.

codecov[bot] commented 5 years ago

Codecov Report

Merging #11 into master will decrease coverage by 0.15%. The diff coverage is 63.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   58.98%   58.83%   -0.16%     
==========================================
  Files          41       43       +2     
  Lines        3228     3459     +231     
==========================================
+ Hits         1904     2035     +131     
- Misses       1324     1424     +100
Flag Coverage Δ
#aprl 15.38% <0%> (-1.11%) :arrow_down:
#modelfree 48.65% <63.23%> (+0.57%) :arrow_up:
Impacted Files Coverage Δ
src/modelfree/configs/multi/common.py 100% <ø> (ø) :arrow_up:
src/modelfree/visualize/util.py 0% <0%> (ø) :arrow_up:
src/modelfree/visualize/training.py 0% <0%> (ø) :arrow_up:
src/modelfree/visualize/make_videos.py 0% <0%> (ø)
src/modelfree/visualize/annotated_gym_compete.py 100% <100%> (ø)
src/modelfree/envs/__init__.py 100% <100%> (ø) :arrow_up:
src/modelfree/score_agent.py 85.29% <100%> (+0.44%) :arrow_up:
src/modelfree/multi/train.py 87.09% <100%> (+0.43%) :arrow_up:
src/modelfree/configs/multi/train.py 16.12% <100%> (ø) :arrow_up:
src/modelfree/multi/score.py 86.66% <100%> (+0.22%) :arrow_up:
... and 6 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 d20ec25...552862a. Read the comment docs.

AdamGleave commented 5 years ago

Note the tests failing are spurious (due to MuJoCo website being down!)