Closed Miaoing closed 1 year ago
I recently worked around this issue by explicitly declaring how many camera views I have in the io.yaml or config.yaml file. If you add "n_views: 8" to the config and make sure you have 8 camnames in the dannce.mat file for this session, you should be able to work past this issue. In the future, we may want to make n_views equal to the length of camnames by default
Thank you very much! I tried to modify n_views to 8 before, but it seems that this method doesn't work for 'finetune' mode, because the pretrained UNet's shape is limited by 6 views.
I figured out a work-around way:
Limit camnames to 6 in the file dannce/interface.py (line 1372), by slicing.
camnames[0] = params["experiment"][0]["camnames"][:n_views]
In this way, it will use the pretrained network, and engate the first 6 views of the 8 cams for finetuning.
Hi, Thank you or developing the excellent project!
I tried to run dannce with my own data. In our setting, there are 8 cams. If I run the prediction, with 'finetune' mode, there will be a Runtime Error.
How should I cope with this setting? Thank you very much for your response!