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
I was able to resolve this issue by changing-
env_type = env.entry_point.split(':')[0].split('.')[-1]
to
env_type = env._entry_point.split(':')[0].split('.')[-1]
Basically its not able to recognize the change which was recently made in the repository by replacing _entry_point to just entry_point.
I am also running the latest GYM version so not an issue in that.
while running this-
command - python3 -m baselines.run --alg=ppo2 --env=PongNoFrameskip-v4 --num_timesteps=2e7
Traceback (most recent call last):
File "/home/ujwal/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/ujwal/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
in run.py, line 35, in
env_type = env.entry_point.split(':')[0].split('.')[-1]
AttributeError: 'EnvSpec' object has no attribute 'entry_point'
The text was updated successfully, but these errors were encountered: