jkulhanek / viewformer

ViewFormer: NeRF-free Neural Rendering from Few Images Using Transformers
MIT License
233 stars 15 forks source link

CO3Dv2 Evaluation Code Error #2

Closed zhizdev closed 1 year ago

zhizdev commented 1 year ago

Thanks again for uploading the CO3D weights and code so promptly.

When It try to run

viewformer-cli evaluate co3dv2-challenge --dataset-root /drive2/datasets/co3d --output output --split dev

I receive an error

File "/home/~/code/viewformer/viewformer/evaluate/evaluate_co3dv2_challenge.py", line 98, in main
    prediction_batch = make_batch([
  File "/home/~/code/viewformer/viewformer/evaluate/evaluate_co3dv2_challenge.py", line 99, in <listcomp>
    frame_annotation_map[(x, y)] for x, y, _ in eval_batch
ValueError: too many values to unpack (expected 3)

It appears that for some reason my eval_batch is simply a list and not a nested list

printing eval_batch gives

['171_18628_34226', 87, 'apple/171_18628_34226/images/frame000087.jpg']

What are some steps I can take to debug this issue? Thanks!

zhizdev commented 1 year ago

Update. It seems like this is an issue with my dataset. I will update when I find the issue.