You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After registering my envs i am trying to see why I am unable to run the code
Below is the screen shots when I try to figure about the environment and the command to execute the algorithm works
python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gym
>>> import envs
>>> gym.make("Bpp-v0")
[2021-05-10 12:07:01,457] Making new env: Bpp-v0
/home/abc/.local/lib/python3.6/site-packages/gym/envs/registration.py:17: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
result = entry_point.load(False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/abc/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 161, in make
return registry.make(id)
File "/home/abc/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 119, in make
env = spec.make()
File "/home/abc/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 86, in make
env = cls(**self._kwargs)
File "/home/abc/Online-3D-BPP-DRL/envs/bpp0/bin3D.py", line 20, in __init__
assert box_set is not None
AssertionError
We need to pass necessary information of the environment by 'gym.make()' when creating the environment,which means that you need not only declare the environment name in 'gym.make()', but also declare other necessary parameters of the environment. You can refer to 'Online-3D-BPP-DRL/acktr/envs.py/make_vec_envs()/gym.make(...)' to create the environment.
After registering my envs i am trying to see why I am unable to run the code
Below is the screen shots when I try to figure about the environment and the command to execute the algorithm works
The text was updated successfully, but these errors were encountered: