askforalfred / alfred

ALFRED - A Benchmark for Interpreting Grounded Instructions for Everyday Tasks
MIT License
360 stars 77 forks source link

Questions about some definitions in "traj_data.json" #79

Closed ruoxinx closed 3 years ago

ruoxinx commented 3 years ago

Thank you for providing this great dataset!

I noticed that the "ObjectName" in the traj_data.json is attached with a string of characters. For example,

"object_poses": [ { "objectName": "Mug_2a940808", "position": { "x": 1.83983088, "y": 0.793715239, "z": -1.153574 }, "rotation": { "x": 0.0, "y": 0.0, "z": 0.0 } }, { "objectName": "TissueBox_00aeed40", "position": { "x": 1.98229468, "y": 0.350982755, "z": -1.21802711 }, "rotation": { "x": 0.0, "y": 0.0, "z": 0.0 } },

I am not sure of the meanings of these strings of characters. I try to exchange the same type of object (e.g., mug) with different objectNames (e.g., Mug_2a940808 and Mug_291e6e8a) between different trajectories, but the simulator failed. It seems that the objectName is related to the scene plans.

Could you please provide some references about the definitions of the objectName? Thank you so much!

askforalfred commented 3 years ago

Your intuition is correct. These are ids associated with the object mesh, which differs scene to scene (e.g., slightly differently shaped and colored coffee mugs). Object meshes are tied to scenes as far as I remember in THOR 2.1.0.

On Wed, Apr 28, 2021 at 1:52 PM 'ruoxinx' via askforalfred < @.***> wrote:

Thank you for providing this great dataset!

I noticed that the "ObjectName" in the traj_data.json is attached with a string of characters. For example,

"object_poses": [ { "objectName": "Mug_2a940808", "position": { "x": 1.83983088, "y": 0.793715239, "z": -1.153574 }, "rotation": { "x": 0.0, "y": 0.0, "z": 0.0 } }, { "objectName": "TissueBox_00aeed40", "position": { "x": 1.98229468, "y": 0.350982755, "z": -1.21802711 }, "rotation": { "x": 0.0, "y": 0.0, "z": 0.0 } },

I am not sure of the meanings of these strings of characters. I try to exchange the same type of object (e.g., mug) with different objectNames (e.g., Mug_2a940808 and Mug_291e6e8a) between different trajectories, but the simulator failed. It seems that the objectName is related to the scene plans.

Could you please provide some references about the definitions of the objectName? Thank you so much!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/askforalfred/alfred/issues/79, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3HWRFNLLSCRCUOR52WPRTTLBYQVANCNFSM43X2E2TQ .

-- You received this message because you are subscribed to the Google Groups "askforalfred" group. To unsubscribe from this group and stop receiving emails from it, send an email to @. To post to this group, send email to @. To view this discussion on the web visit https://groups.google.com/d/msgid/askforalfred/askforalfred/alfred/issues/79%40github.com https://groups.google.com/d/msgid/askforalfred/askforalfred/alfred/issues/79%40github.com?utm_medium=email&utm_source=footer . For more options, visit https://groups.google.com/d/optout.

ruoxinx commented 3 years ago

Thank you for your prompt response. I guess it is hard to change the shape or color of objects by simply modifying these ids in "traj_data.json" since they are fixed with scenes right now.

MohitShridhar commented 3 years ago

That's right, you can't modify object textures unless you edit the scenes in Unity and build your own THOR binary.