Closed liuxz-cs closed 3 years ago
Hi @liuxz-cs,
It's definitely possible to define new actions and modify the scene files. As a warning: this isn't hard but there is a bit of a learning curve as you'll need to learn a bit about Unity and C# as these are the tools with which AI2-THOR was built.
There isn't a lot of documentation for how to do this. I would suggest following the instructions in the AI2-THOR repository for how to download Unity and built AI2-THOR locally. Once this is done I would search the repository for the names of certain methods (e.g. MoveAhead
, PickupObject
, etc) to get a senses of how actions are defined. Changing scene assets (e.g. the robots shape) is more involved and I haven't done it personally, I would suggest submitting an issue in the AI2-THOR repository and flagging @winthos and/or @elimvb for help.
Hi @liuxz-cs,
It's definitely possible to define new actions and modify the scene files. As a warning: this isn't hard but there is a bit of a learning curve as you'll need to learn a bit about Unity and C# as these are the tools with which AI2-THOR was built.
There isn't a lot of documentation for how to do this. I would suggest following the instructions in the AI2-THOR repository for how to download Unity and built AI2-THOR locally. Once this is done I would search the repository for the names of certain methods (e.g.
MoveAhead
,PickupObject
, etc) to get a senses of how actions are defined. Changing scene assets (e.g. the robots shape) is more involved and I haven't done it personally, I would suggest submitting an issue in the AI2-THOR repository and flagging @winthos and/or @elimvb for help.
Okay,thanks a lot!
Sure thing! I'm going to close this issue but feel free to make another if you have further questions.
Excuse me, I want to know if we can define the actions and scenes (for example the shape of agents in multi-agent tasks) by rewriting the AI2THOR-build file. And if we can, how can we write the file to define our own tasks? Do you have some documentations or guildlines? Thanks a lot.