ai2thor
ai2thor copied to clipboard
Invalid action: Move
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
Can you try “MoveAhead”, “MoveLeft”, “MoveBack”, or “MoveRight” instead?
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.