askforalfred / alfred

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

Wrong annotations for detection and segmentation #114

Closed joeyy5588 closed 2 years ago

joeyy5588 commented 2 years ago

Hi,

I followed the instruction from here (https://github.com/alfworld/alfworld/tree/master/alfworld/data) to generate training images for my own detector, and when I visualized some of the images, I found all of the Faucet in the bathroom are mislabeled as FloorLamp (please see the below images). I'm pretty sure I map the class name correctly, since the rest of the classes are correctly visualized.

p.s. I check the meta file for these images and none of these files include the word "Faucet".

Can you help me fix this issue? Thanks! image image

MohitShridhar commented 2 years ago

@joeyy5588, thanks for reporting this.

This looks like a bug in Ai2THOR 2.1.0 that was probably fixed in later releases. There is no easy way to fix this without recompiling the Unity build and creating a new 2.1.0 binary.

But for now, a quick hack might be to force all FloorLamp objects to Faucet since there should be no FloorLamps in Bathrooms as per the documentation.

Hope this helps!

joeyy5588 commented 2 years ago

Thanks for the quick response!