askforalfred / alfred

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

Error in Preprocessing Language #6

Closed TheShadow29 closed 4 years ago

TheShadow29 commented 4 years ago

Hi

I am trying to run the preprocessing steps, but facing an error in process_language (https://github.com/askforalfred/alfred/blob/master/data/preprocess.py#L93)

In train and valid splits, it seems ridx >= len(ex['turk_annotations']['anns']) for quite a few annotations. This causes the error in L93.

I am likely missing something here. Any clue as to what is going on? Thank you for your patience.

TheShadow29 commented 4 years ago

Update: Seems like there is a mis-match between the full dataset and modeling quickstart provide here: https://github.com/askforalfred/alfred/tree/master/data

It works with modeling quickstart data.

MohitShridhar commented 4 years ago

Thanks @TheShadow29! There might be some trajectories left over from the generation phase without language annotations. Will check it out soon...

MohitShridhar commented 4 years ago

Fixed in the latest full_2.1.0.zip. Data Readme has been updated.