zhlzhl / rl_flex_design Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
python -m spinup.run_flexibility --algo ppo --env_name Flexibility10x10_SP50-v5 --exp_name Flexibility10x10_SP50-v5 --cpu 2 --epochs 6 --save_freq 3 --custom_h 20-10 --env_version 5 --env_input input_ran10x10a_cv0.8.pkl --target_arcs 11 --do_checkpoint_eval
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/mpi_tf.py:29: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
ExperimentGrid [Flexibility10x10_SP50-v5] runs over parameters:
seed [see]
0
epochs [epo]
6
steps_per_epoch [ste]
6000
save_freq [sav]
3
max_ep_len [max]
200
ac_kwargs:activation []
relu
custom_h [cus]
20-10
do_checkpoint_eval [do]
True
eval_episodes [eva]
50
train_v_iters [tra]
80
eval_temp [eva]
1.0
train_starting_temp [tra]
1.0
gamma [gam]
0.99
env_version [env]
5
env_name [env]
Flexibility10x10_SP50-v5
env_input [env]
/hpc/group/carin/ss1043/NRL_flex_design/spinup/FlexibilityEnv_input/input_ran10x10a_cv0.8.pkl
env_n_sample [env]
50
target_arcs [tar]
11
train_pi_iters [tra]
80
Variants, counting seeds: 1
Variants, not counting seeds: 1
================================================================================
Preparing to run the following experiments...
Flexibility10x10_SP50-v5
================================================================================
Launch delayed to give you a few seconds to review your experiments.
To customize or disable this behavior, change WAIT_BEFORE_LAUNCH in
spinup/user_config.py.
================================================================================
Running experiment:
Flexibility10x10_SP50-v5
with kwargs:
{
"ac_kwargs": {
"activation": "relu"
},
"custom_h": "20-10",
"do_checkpoint_eval": true,
"env_input": "/hpc/group/carin/ss1043/NRL_flex_design/spinup/FlexibilityEnv_input/input_ran10x10a_cv0.8.pkl",
"env_n_sample": 50,
"env_name": "Flexibility10x10_SP50-v5",
"env_version": 5,
"epochs": 6,
"eval_episodes": 50,
"eval_temp": 1.0,
"gamma": 0.99,
"max_ep_len": 200,
"save_freq": 3,
"seed": 0,
"steps_per_epoch": 6000,
"target_arcs": 11,
"train_pi_iters": 80,
"train_starting_temp": 1.0,
"train_v_iters": 80
}
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/mpi_tf.py:29: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Logging data to /hpc/group/carin/ss1043/NRL_flex_design/data/Flexibility10x10_SP50-v5/Flexibility10x10_SP50-v5_s0/progress.txt
Saving config:
{
"ac_kwargs": {
"activation": "relu"
},
"actor_critic": "mlp_actor_critic",
"clip_ratio": 0.2,
"custom_h": "20-10",
"do_checkpoint_eval": true,
"env_fn": "CustomFlexibilityEnv",
"env_input": "/hpc/group/carin/ss1043/NRL_flex_design/spinup/FlexibilityEnv_input/input_ran10x10a_cv0.8.pkl",
"env_name": "Flexibility10x10_SP50-v5",
"env_version": 5,
"epochs": 6,
"eval_episodes": 50,
"eval_temp": 1.0,
"exp_name": "Flexibility10x10_SP50-v5",
"gamma": 0.99,
"lam": 0.97,
"logger": {
"<spinup.utils.logx.EpochLogger object at 0x7f45fcbbfb00>": {
"epoch_dict": {},
"exp_name": "Flexibility10x10_SP50-v5",
"first_row": true,
"log_current_row": {},
"log_headers": [],
"output_dir": "/hpc/group/carin/ss1043/NRL_flex_design/data/Flexibility10x10_SP50-v5/Flexibility10x10_SP50-v5_s0",
"output_file": {
"<_io.TextIOWrapper name='/hpc/group/carin/ss1043/NRL_flex_design/data/Flexibility10x10_SP50-v5/Flexibility10x10_SP50-v5_s0/progress.txt' mode='w' encoding='UTF-8'>": {
"mode": "w"
}
}
}
},
"logger_kwargs": {
"exp_name": "Flexibility10x10_SP50-v5",
"output_dir": "/hpc/group/carin/ss1043/NRL_flex_design/data/Flexibility10x10_SP50-v5/Flexibility10x10_SP50-v5_s0"
},
"max_ep_len": 200,
"pi_lr": 0.0003,
"save_freq": 3,
"seed": 0,
"steps_per_epoch": 6000,
"target_arcs": 11,
"target_kl": 0.01,
"train_pi_iters": 80,
"train_starting_temp": 1.0,
"train_v_iters": 80,
"vf_lr": 0.001
}
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/tensorboard_logging.py:19: The name tf.summary.FileWriter is deprecated. Please use tf.compat.v1.summary.FileWriter instead.
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/ppo.py:187: The name tf.set_random_seed is deprecated. Please use tf.compat.v1.set_random_seed instead.
using env: Flexibility10x10_SP50-v5 | n_plant: 10 | n_product: 10 | target_arcs: 11 | n_sample: 50 | env_version: 5
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/core.py:29: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/core.py:122: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/core.py:39: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.dense instead.
WARNING:tensorflow:From /hpc/home/ss1043/.local/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.init (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/core.py:87: multinomial (from tensorflow.python.ops.random_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.random.categorical
instead.
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/core.py:44: The name tf.trainable_variables is deprecated. Please use tf.compat.v1.trainable_variables instead.
Number of parameters: pi: 3330, v: 2241
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/ppo.py:227: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/mpi_tf.py:63: py_func (from tensorflow.python.ops.script_ops) is deprecated and will be removed in a future version.
Instructions for updating:
tf.py_func is deprecated in TF V2. Instead, there are two
options available in V2.
- tf.py_function takes a python function which manipulates tf eager
tensors instead of numpy arrays. It's easy to convert a tf eager tensor to
an ndarray (just call tensor.numpy()) but having access to eager tensors
means tf.py_function
s can use accelerators such as GPUs as well as
being differentiable using a gradient tape.
- tf.numpy_function maintains the semantics of the deprecated tf.py_func
(it is not differentiable, and manipulates numpy arrays). It drops the
stateful argument making all functions stateful.
WARNING:tensorflow:From /hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/mpi_tf.py:14: The name tf.assign is deprecated. Please use tf.compat.v1.assign instead.
Traceback (most recent call last):
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/run_entrypoint.py", line 11, in
thunk()
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/run_utils.py", line 171, in thunk_plus
thunk(**kwargs)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/algos/ppo/ppo.py", line 379, in ppo
seed=seed
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/custom_utils.py", line 79, in eval_and_save_best_model
train_logger.save_state({'env_name': eval_env_name}, itr=999999)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/logx.py", line 189, in save_state
self._tf_simple_save(itr)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/logx.py", line 226, in _tf_simple_save
shutil.rmtree(fpath)
File "/hpc/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/shutil.py", line 490, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "/hpc/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/shutil.py", line 488, in rmtree
os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/hpc/group/carin/ss1043/NRL_flex_design/data/Flexibility10x10_SP50-v5/Flexibility10x10_SP50-v5_s0/simple_save999999'
================================================================================
There appears to have been an error in your experiment.
Check the traceback above to see what actually went wrong. The
traceback below, included for completeness (but probably not useful
for diagnosing the error), shows the stack leading up to the
experiment launch.
================================================================================
Traceback (most recent call last):
File "/hpc/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/hpc/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/run_flexibility.py", line 100, in
run_experiment(args)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/run_flexibility.py", line 48, in run_experiment
eg.run(ppo)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/run_utils.py", line 569, in run
data_dir=data_dir, datestamp=datestamp, **var)
File "/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/run_utils.py", line 180, in call_experiment
subprocess.check_call(cmd, env=os.environ)
File "/hpc/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/hpc/home/ss1043/miniconda3/envs/spinningup/bin/python', '/hpc/group/carin/ss1043/NRL_flex_design/spinup/utils/run_entrypoint.py', 'eJytVN1uHDUUntm/THY3fzRNSK+QkNBy0dlNoFIvCggi6MVAVKXcVpYz4x1b47Hdsb1JKoqQUNtcuNzESDxFn4PX4AngETgzu0mXSpFAYkbjsc85Pr/fOT91fv2qFzSP2025tJliacFJvLT3bh1NGedoakVqmBT+0o9o4DZQiQuCdEHmLCADdQ2dWMYNE8icKwI0Fx3KjHxfH174Yz9KAnjDZCW5dfhjFl4ERa+iF0EW7gXPA/i39oJsCLSJCX64Ondft2DXe3B1Xim6FX3LhzVq1tVm7YPE4HX3+kb/s8CEF+HPYRhctKZA+QV2WfA48KMjFxExQwKXEOWg3s5IpesQwcMWHb7wrldTp0Bou4HBVU4MwlWqvVutGUwoa7wbNlqQxqWCfI3okG7QTbplGjUvPUhs1RdTq40s0UKji0rF0FRWhX/p6QBsfTmmKh3nlbRqnOKKibHW+5NPPxkfHX+LppycoYxolgNZMQEy1jCux5UVqNnF6ty7vqFWFEhxq33y2+GdoBWFUTgMt+HrhL3m3Wz12lEbYitOISKIZUXYEqXKetdtrvtX/mMDxUraz/3IDRBSOC1wThCCWOfG48YkBIGa9NWcnWVOfO1WIwMAamT+hxDtK/Cs9msl5/IEgwE40J13zNe5NVICl+4AMG+7vX+wF6WYO0hvX3rrooxMseVG+yPXyVhqQK9bh0bQtiJohrkl2j/xo9p0jyiZUshwz21oQ5RGilSoIfrv1K5b1XhG0LQiT2vg9Et8BkzECeDod7eKU7TIPFjoY2iqGW4ay31giNCymnJ5CqEaKkUslY5zIpAQCLbedSrCLfSVdtEiCAplO5jc3Z94914mUUpJWijJhEEEvPYXbq3+gwNMQyeC0wduzVQYWhQAbADwPnkEcK5lDCmVf/jFX4uRcGsupgH40NH5u+xujssSA+HPN9vP/nj4hg6TLh2497+BOrITxpk535+c7U/Q40f3Jndn9zzddE/+IwCWdH191XDjZkUVFo16jNLZJL4fq4J7upUc0I1k4NbnrgMKrkPsaEIyn8CM4jLPoV7XRRi5vrSm1pmxyjv8b33MsMHjm6K9kYE0VCoiZ2oxeG7Ol7VJ6LYXwMU8l9AAStafd+16vfTE9UqZWRg79CPXaRTSO66dyRRgvIuW5jjS9mQuWsPYDbAQ0jS4a3AYPbWYzx36MMUw7sFBUrGSCBM/4BJI+vN4abi4fnH6tmOsOY7/Bj/xSM4=']' returned non-zero exit status 1.
(spinningup) ss1043@ss1043-ubuntu:~/NRL_flex_design$ python -m spinup.run_flexibility --algo ppo --env_name Flexibility10x10_SP50-v5 --exp_name Flexibility10x10_SP50-v5 --cpu 2 --epochs 6 --save_freq 3 --custom_h 20-10 --env_version 5 --env_input input_ran10x10a_cv0.8.pkl --target_arcs 11 --do_checkpoint_eval
WARNING:tensorflow:From /home/ss1043/NRL_flex_design/spinup/utils/mpi_tf.py:29: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
Traceback (most recent call last):
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/init.py", line 334, in getattr
return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'Window'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/ss1043/NRL_flex_design/spinup/init.py", line 3, in
from spinup.algos.ppo.ppo import ppo
File "/home/ss1043/NRL_flex_design/spinup/algos/ppo/ppo.py", line 11, in
from spinup.utils.custom_utils import *
File "/home/ss1043/NRL_flex_design/spinup/utils/custom_utils.py", line 3, in
from spinup.FlexibilityEnv.FlexibilityEnv import FlexibilityEnv
File "/home/ss1043/NRL_flex_design/spinup/FlexibilityEnv/FlexibilityEnv.py", line 427, in
class Viewer(pyglet.window.Window):
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/init.py", line 340, in getattr
import(import_name)
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/window/init.py", line 1887, in
gl._create_shadow_window()
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/gl/init.py", line 220, in _create_shadow_window
_shadow_window = Window(width=1, height=1, visible=False)
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/window/xlib/init.py", line 171, in init
super(XlibWindow, self).init(*args, **kwargs)
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/window/init.py", line 572, in init
display = pyglet.canvas.get_display()
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/canvas/init.py", line 94, in get_display
return Display()
File "/home/ss1043/miniconda3/envs/spinningup/lib/python3.6/site-packages/pyglet/canvas/xlib.py", line 123, in init
raise NoSuchDisplayException('Cannot connect to "%s"' % name)
pyglet.canvas.xlib.NoSuchDisplayException: Cannot connect to "None"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.