Open herveyrobot opened 1 year ago
It can't work for me. The errors that occurred are as follows:
[08/08 19:43:13 ERROR:] [train worker 0] Encountered TypeError, exiting. [engine.py: 1858] [08/08 19:43:13 ERROR:] Traceback (most recent call last): File "/root/ai2thor-rearrangement/baseline_configs/rearrange_base.py", line 292, in stagewise_task_sampler_args x_displays = get_open_x_displays(throw_error_if_empty=True) File "/opt/miniconda3/envs/rearrange/lib/python3.9/site-packages/allenact_plugins/ithor_plugin/ithor_util.py", line 88, in get_open_x_displays raise IOError( OSError: Could not find any open X-displays on which to run AI2-THOR processes. Please see the AI2-THOR installation instructions at https://allenact.org/installation/installation-framework/#installation-of-ithor-ithor-plugin for information as to how to start such displays.
During handling of the above exception, another exception occurred: TypeError: 'NoneType' object is not iterable [engine.py: 1861] [08/08 19:43:13 ERROR:] Encountered Exception. Terminating runner. [runner.py: 1467] [08/08 19:43:13 ERROR:] Traceback (most recent call last): File "/opt/miniconda3/envs/rearrange/lib/python3.9/site-packages/allenact/algorithms/onpolicy_sync/runner.py", line 1434, in log_and_close raise Exception( Exception: Train worker 0 abnormally terminated [runner.py: 1468] Traceback (most recent call last): File "/opt/miniconda3/envs/rearrange/lib/python3.9/site-packages/allenact/algorithms/onpolicy_sync/runner.py", line 1434, in log_and_close raise Exception( Exception: Train worker 0 abnormally terminated
same problem when training, have you solved it yet?
The
example.py
code was written with the assumption that it would be run on a mac, sorry about that! As the error message notes:the parameter
devices
passed to theTwoPhaseRGBBaseExperimentConfig.stagewise_task_sampler_args
function isNone
by default which is fine when you're not using Linux but causes issues otherwise. Can you try changing:to
and trying again?
Originally posted by @Lucaweihs in https://github.com/allenai/ai2thor-rearrangement/issues/48#issuecomment-1668722513