toybox-rs / Toybox

The Machine Learning Toybox for testing the behavior of autonomous agents.
http://toybox.rs
27 stars 12 forks source link

_NOOP command error when running ToyboxAgents #189

Open erniemcb13 opened 2 years ago

erniemcb13 commented 2 years ago

The following error occurs when running the agent in ToyboxAgents - stemming from Toybox repo

C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\gym\envs\registration.py:300: UserWarning: ←[33mWARN: Could not find module 'C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\atari_py\ale_interface\ale_c.dll' (or one of its dependencies). Try using the full path with constructor syntax.←[0m logger.warn(str(e)) Traceback (most recent call last): File "C:\Users\mcbri\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\mcbri\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\mcbri\dev\ToyboxAgents\agents__main.py", line 22, in importlib.import_module('agents.' + game_lower + '.' + args.agentclass.lower()) File "C:\Users\mcbri\AppData\Local\Programs\Python\Python310\lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\mcbri\dev\ToyboxAgents\agents\breakout\init__.py", line 3, in from agents.base import Agent File "C:\Users\mcbri\dev\ToyboxAgents\agents\base.py", line 4, in from toybox.envs.atari.constants import ACTION_MEANING File "C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\toybox-0.1.3-py3.10.egg\toybox\envs\init.py", line 1, in File "C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\toybox-0.1.3-py3.10.egg\toybox\envs\gym.py", line 2, in File "C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\toybox-0.1.3-py3.10.egg\toybox\envs\atari\init__.py", line 1, in File "C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\toybox-0.1.3-py3.10.egg\toybox\envs\atari\breakout.py", line 2, in File "C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\toybox-0.1.3-py3.10.egg\toybox\envs\atari\base.py", line 8, in File "C:\Users\mcbri\dev\ToyboxAgents\venv\lib\site-packages\toybox-0.1.3-py3.10.egg\toybox\envs\atari\constants.py", line 3, in AttributeError: type object 'builtins.Input' has no attribute '_NOOP'

@etosch