Visualization Ai2THOR scenes on Ubuntu #890
Unanswered
moorthyrahul
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @moorthyrahul, Can you try something like printing the event: from ai2thor.controller import Controller
controller = Controller(scene="FloorPlan10")
event = controller.step(action="RotateRight")
print(event) or saving the RGB image frame: from ai2thor.controller import Controller
from PIL import Image
controller = Controller(scene="FloorPlan10")
event = controller.step(action="RotateRight")
Image.fromarray(event.frame).save("frame.png") |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm trying Ai2THOR for the first time. I installed it via pip on Ubuntu 18.04. After installing, I wanted to verify the installation using the following (via python3.7 terminal):
from ai2thor.controller import Controller
controller = Controller(scene="FloorPlan10")
event = controller.step(action="RotateRight")
There's no output after the controller command and I'm unable to visualize the scene. Also in the locally downloaded ~/.ai2thor directory, I don't see any game environment containing the 3D scenes. Has anyone else faced this issue?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions