ZhuFengdaaa / SOON

Dataset and baseline for Scenario Oriented Object Navigation (SOON)
MIT License
17 stars 0 forks source link

test format #8

Open shonnon-zxs opened 5 months ago

shonnon-zxs commented 5 months ago

Hi,I have a somewhat foolish but important doubt for me. When I submitted the results to eval. ai, an error occurred as follows Traceback (most recent call last): File "/code/scripts/workers/submission_worker.py", line 538, in run_submission submission_metadata=submission_serializer.data, File "/tmp/tmp5vcyvz65/compute/challenge_data/challenge_1275/main.py", line 262, in evaluate score_summary = ev.score(submit_data) File "/tmp/tmp5vcyvz65/compute/challenge_data/challenge_1275/main.py", line 174, in score self._score_item(item['instr_id'], trajectory['path'], TypeError: string indices must be integers

Can you help me answer or provide a correct format, thanks very much

Here is a json example: { "instr_id": "4-0_0", "trajectory": { "obj_elevation": [ 0.3959164168399728 ], "obj_heading": [ 0.0515231525490373 ], "path": [ [ "13ae1603f381466a86b3d1dcc884366c" ], [ "9fa882fcc3e3446a9479a17e534a2f62" ], [ "200d479334cf48f99d62da575fd48cc6" ], [ "ffbe14a1bab6497abb439dfcc3cfd11e" ], [ "f53c36c7f710428e8968b95e8d7171c2" ], [ "c04bb819872546cb990d58225c0c2a94" ], [ "317113a25d7542009c08d87eb647c778" ], [ "9ac6ad03185e4fd5ae98f041bcd0f713" ], [ "8b7a414f32e54460975d6ffcee6d5c62" ] ] } },