ai2thor icon indicating copy to clipboard operation
ai2thor copied to clipboard

Invalid action: Move

Open kert0127 opened this issue 3 years ago • 2 comments

Hello, When I run the navigation in ai2thor version 2.1.0, the 'Move' action in queue_step can be executed normally. But when I switch to ai2thor version 2.4.0 and run the same program, I get the following error: "ValueError: Invalid action: Move"

I checked the controller.py of the latest version of ai2thor, and the 'Move' action is still used in queue_step, so I don't think this action has been removed in the new version.

OS : Ubuntu 20.04.3 LTS Python version : 3.8.10

kert0127 avatar May 04 '22 09:05 kert0127

Can you try “MoveAhead”, “MoveLeft”, “MoveBack”, or “MoveRight” instead?

mattdeitke avatar May 04 '22 21:05 mattdeitke

The Move action itself had been deprecated between version 2.1.0 and 2.4.0, which is why that particular action defined in queue_step is failing.

The python function queue_step is also undocumented and essentially deprecated, as it is only used in an older implementation of the agent controller called the BFSController.

If possible, updating to a newer version of AI2THOR or using the updated move actions like MoveAhead, MoveLeft, MoveBack and MoveRight as suggested above would be the way to get some sort of move action working.

winthos avatar May 04 '22 23:05 winthos