forked from CDMCH/ddpg-curiosity-and-multi-criteria-her
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1.2 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from setuptools import setup, find_packages
import sys
if sys.version_info.major != 3:
print('This Python is only compatible with Python 3, but you are running '
'Python {}. The installation will likely fail.'.format(sys.version_info.major))
setup(name='ddpg_curiosity_mc_her',
packages=[package for package in find_packages()
if package.startswith('ddpg_curiosity_mc_her')],
install_requires=[
'gym[mujoco]',
'scipy',
'tqdm',
'joblib',
'dill',
'progressbar2',
'mpi4py',
'cloudpickle',
'click',
'opencv-python',
'numpy',
'plotly',
'matplotlib'
],
description='DDPG with Curiosity and Multi-Criteria HER, modified from OpenAI baselines.',
author='',
url='https://github.com/openai/baselines',
author_email='',
version='0.1.5')
# ensure there is some tensorflow build with version above 1.4
try:
from distutils.version import StrictVersion
import tensorflow
assert StrictVersion(tensorflow.__version__) >= StrictVersion('1.4.0')
except ImportError:
assert False, "TensorFlow needed, of version above 1.4"