-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck at Resetting ThorEnv #18
Comments
@dada-h-h Exactly same here. Could you try a minimal examples https://allenai.github.io/ai2thor-v2.1.0-documentation/examples ? You can also try to set
to see if there is any difference. |
Hello, I think if you can't run the reset here, it's likely that you can't run the one in ALFRED either: https://github.com/askforalfred/alfred/blob/master/env/thor_env.py#L47 If it's a headless computer, it's likely to be a Xserver problem. (The simulator not recognizing Xserver). You should check if ALFRED's scripts/check_thor.py works (https://github.com/askforalfred/alfred/blob/master/scripts/check_thor.py) |
Hi @soyeonm, does the code is expected to work on a MacOS machine? I noticed that you also included some macos instructions in readme, but I faced the similar hanging issues here. I cannot even run a minimal example of ai2thor, version 2.1.0. I probably should raise the issue in alfred repo, by the way. |
Hello, thanks for your question. Yes, it ran on my mac; I will check again later today. |
@soyeonm @Roadsong Thank you very much for your answers! It seems like it was a dependency issue. I tried making a new conda environment(python 3.8.5) and installed all the packages referring to the package versions in the docker container, and then it worked! The specific versions are:
I'm still not sure what exact packages are causing the issue though... Plus, when I was installing the packages, I used this file which I pip freeze from the docker container. This is what I did:
then ran conda install to download requirements, (it takes some time)
then used pip or conda-forge to install missing packages. |
Hello |
HI! I'm dealing with similar issues as @biubiuisacat and @JinyeonKim.
I'm stuck at Resetting ThorEnv and I double checked the dependency (pytorch==1.6.0, torchvision==0.7.0, cudatoolkit=10.2) so I don't think that's the reason why the code is not working...
Also I ran the code with a desktop with 2080 ti so hardware probably wouln't cause the problem either.
So I looked up the ai2thor code and I found the code stops working when
~/FILM/alfred_utils/env/thor_env_code.py
calls the functionsuper().step()
(line 278). The function looks like below.(ai2thor/controller.py, line 615)
Then I found out the code stops when the function
queue_get(self.request_queue)
is called (I marked where it is with annotation). The function has a while loop in it and the program has to break out of the while loop if it gets an item from therequest_queue
, but it keeps fails to get an item from the queue because the queue is empty, so the code is just stuck at the while loop.Could I get some advice of why this happens and how to solve this problem? I'm stuck here for weeks...😭😭
Thanks!
The text was updated successfully, but these errors were encountered: