nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Issue with data format for Vanilla-NeRF

Open brahimfarhat opened this issue 2 years ago • 2 comments

Hello Nerfactos,

I have the following bug when I tried training using vanilla-nerf. File "/home/nerfstudio/nerfstudio/utils/io.py", line 30, in load_from_json with open(filename, encoding="UTF-8") as file: FileNotFoundError: [Errno 2] No such file or directory: 'data/nerfstudio/poster/transforms_train.json'

Steps to reproduce the behavior:

  1. ns-download-data nerfstudio --capture-name=poster
  2. ns-train vanilla-nerf --data data/nerfstudio/poster

it is working for other models such as gaussian-splatting and instant-ngp.. Any explanation or help ? I suppose I'm missing something

Thanks!

brahimfarhat avatar Jan 31 '24 07:01 brahimfarhat

Have you set the data format to "nerfstudio-data".

ns-train vanilla-nerf --data data/nerfstudio/poster nerfstudio-data

kurtjcu avatar Feb 07 '24 03:02 kurtjcu

Similar error came up while using nerfacto model, @kurtjcu 's solution doesn't seem to help for my case. Edit : My issue was resolved. got it working by changing the dir in the command to data/nerfstudio/.temp_poster/poster

GARV-k avatar May 10 '24 19:05 GARV-k