neuroevolution-ai / NeuroEvolution-CTRNN_new

MIT License
3 stars 3 forks source link

added pip freeze to output dir #56

Closed bjuergens closed 3 years ago

bjuergens commented 3 years ago

implements #51

can be merged now.

should have no conflicts to anyother branches.

review is not needed IMO, but since this is a new feature, you may want to be aware of it.

bjuergens commented 3 years ago

the content of pip.freeze after each experiment will look like this:


atari-py==0.2.6
attrs==20.3.0
bokeh==2.0.0
box2d-py==2.3.8
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
click==7.1.2
cloudpickle==1.3.0
cma==3.0.3
cycler==0.10.0
Cython==0.29.17
dask==2020.12.0
deap==1.3.1
decorator==4.4.2
distributed==2.17.0
fasteners==0.15
filelock==3.0.12
flake8==3.8.4
fsspec==0.7.4
future==0.18.2
glcontext==2.2.0
glfw==1.11.0
greenlet==0.4.15
gym==0.17.3
gym3==0.3.3
HeapDict==1.0.1
idna==2.10
imageio==2.8.0
imageio-ffmpeg==0.3.0
iniconfig==1.0.1
Jinja2==2.11.2
joblib==0.15.1
jsonpatch==1.26
jsonpointer==2.0
kiwisolver==1.2.0
locket==0.2.0
lockfile==0.12.2
MarkupSafe==1.1.1
matplotlib==3.3.3
mccabe==0.6.1
memory-profiler==0.58.0
mock==4.0.2
moderngl==5.6.1
monotonic==1.5
more-itertools==8.3.0
msgpack==1.0.0
mujoco-py==2.0.2.9
mypy==0.790
mypy-extensions==0.4.3
networkx==2.5
nptyping==1.3.0
numpy==1.19.4
numpy-stubs @ git+git://github.com/numpy/numpy-stubs.git@c49d2d6875971a669a166ea93ef998911af283a1
opencv-python==4.2.0.34
packaging==20.4
partd==1.1.0
Pillow==7.1.2
pluggy==0.13.1
procgen @ git+https://github.com/neuroevolution-ai/procgen.git@3a5d86c3b89d362983c1a90df970b9173c0bd79b
psutil==5.7.0
py==1.9.0
pybullet==3.0.7
pycodestyle==2.6.0
pycparser==2.20
pyflakes==2.2.0
pygame==2.0.0
pyglet==1.5.0
Pympler==0.9
PyOpenGL==3.1.5
pyparsing==2.4.7
pytest==6.2.1
pytest-mock==3.4.0
pytest-mypy==0.8.0
pytest-parallel==0.1.0
python-dateutil==2.8.1
PyYAML==5.3.1
pyzmq==19.0.0
requests==2.24.0
scikit-learn==0.23.1
scipy==1.4.1
scoop==0.7.1.1
six==1.14.0
sklearn==0.0
sortedcontainers==2.1.0
tblib==1.6.0
threadpoolctl==2.1.0
tikzplotlib==0.9.6
tk==0.1.0
toml==0.10.1
toolz==0.10.0
torch==1.7.1
torchfile==0.1.0
torchvision==0.7.0
tornado==6.0.4
typed-argument-parser==1.6.1
typed-ast==1.4.1
typing-extensions==3.7.4.2
typing-inspect==0.6.0
typish==1.6.0
urllib3==1.25.10
visdom==0.1.8.9
wcwidth==0.1.9
websocket-client==0.57.0
zict==2.0.0

here procgen has been installed with

python -m pip install git+https://github.com/neuroevolution-ai/procgen.git@3a5d86c3b89d362983c1a90df970b9173c0bd79b

and numpy_stubs has been installed via requirements.txt, which has this line

git+git://github.com/numpy/numpy-stubs.git#egg=numpy-stubs

It is notworthy that in both cases the output of pip freeze contains the exact commit, which was used to install the module. Which is great news, I think. Because it resolves the confusion about which exact state of our custom procgen env was installed

pdeubel commented 3 years ago

Nice I would merge it if its okay