ai2thor-rearrangement: Inference using AllenAct gets stuck at some point
Executing the “Pretrained Phase-1” segment of the README gets stuck at some point.
This is the exact command.
allenact baseline_configs/one_phase/one_phase_rgb_resnet_dagger.py -c pretrained_model_ckpts/exp_OnePhaseRGBResNetDagger_40proc__time_2021-02-07_11-25-27__stage_00__steps_000075001830.pt -t 2021-02-07_11-25-27
I have attached the screenshot of the stopping point.
I am using Ubuntu virtual machine (VMware). It isn’t connected to the GPU, so maybe that is the issue? Since ai2thor needs to start the gui for the visualization of the scenes?
Is it possible to use the environment and train the models without the gui? If that is the case then maybe it would be possible to run scripts by using Windows Subsystem for Linux? (wsl2)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (7 by maintainers)
Hi @senadkurtisi,
Thanks for reaching out!
Unfortunately, for the moment, you will need a GPU to be able to launch AI2-THOR (the Unity game engine requires one to render the images given to the agent). I’ve had a chat with (@ekolve) about how we could get things working for you and I think the main takeaway is: the WSL looks promising but we have been targeting Unix systems and so don’t really have enough experience with Windows to give exact steps for how to get things working (and so this would likely require some tinkering on your end).
As a rough outline, we believe you would need to follow steps roughly the following steps
glxgears(a small / self-contained program that just renders some gears turning) and verify that it runs.example.pyscript runs.If you have any questions along the way please let us know! If you also manage to get things working it would be very helpful if you could post your steps (I imagine others would likely not have to dual-boot Ubuntu if possible!).