zhenpeiyang / FvOR

FvOR: Robust Joint Shape and Pose Optimization for Few-view Object Reconstruction
53 stars 2 forks source link

KeyError: 'scene_coords_half' #4

Open Doraemon167 opened 2 years ago

Doraemon167 commented 2 years ago

Dear zhenpeiyang, Thanks for you work! When I was testing FvOR pose estimation model, I had a problem that KeyError: 'scene_coords_half'. So do you have some advice? @zhenpeiyang Thanks.

zhenpeiyang commented 2 years ago

Hi @Doraemon167 , I did not encounter your issue after testing the setup on a new machine. Did you download the processed data from both OccNet and FvOR?

Doraemon167 commented 2 years ago

Yes, I downloaded the processed data from both OccNet and FvOR,when I was tested the FvOR recon model trained with Ground Truth camera poses is norm. But test the FvOR pose estimation model will encounter this error. @zhenpeiyang

Doraemon167 commented 2 years ago

Hello, @zhenpeiyang . I solved it. My Pytorch version is 1.11, so I edited some source code. I clone this projector again and using Pytorch of 1.7. this error was solved. Thanks!

Doraemon167 commented 2 years ago

Hello, @zhenpeiyang , I have another question, When we test the FvOR recon model trained with Ground Truth camera poses that must provide camera.npz?

zhenpeiyang commented 2 years ago

Hi @Doraemon167, sorry for the late reply. Yes the camera.npz is needed.