nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Where is transforms_train.json

Open yukaariki opened this issue 1 year ago • 1 comments

Describe the bug I just do following

Download some test data:

ns-download-data --dataset=nerfstudio --capture=poster

Train model

ns-train nerfacto --data data/nerfstudio/poster

I have error FileNotFoundError: [Errno 2] No such file or directory: 'data/nerfstudio/poster/transforms_train.json'

I I've searched through the data set. I have looked for "transforms_train.json" file in the dataset, but it doesn't seem to be there. How to do that

yukaariki avatar Nov 20 '22 09:11 yukaariki

I have the same problem, and it also happens in the storefront model.

Srgr0 avatar Nov 20 '22 10:11 Srgr0

Does the folder data/nerfstudio/poster exist? If so what files are in side of it? If it does not exist, when running the download script, when is the file path you see above the downloading bar? image

tancik avatar Nov 20 '22 18:11 tancik

pip install tyro==0.3.33 solved the problem for me.

Previously the version was tyro==0.3.34. Somehow with 0.3.34 the nerfacto option loads the DNeRF dataparser instead of the nerfstudio dataparser (the prior loads transforms_train.json instead of transforms.json)

jingweim avatar Nov 20 '22 19:11 jingweim

Sorry for the trouble + thanks for the report; I just yanked tyro==0.3.34 from PyPI. Still working on reproducing and won't re-release until it's fixed.

brentyi avatar Nov 20 '22 21:11 brentyi

Thank you for all comment. All my problems were solved by jingweim suggestions. Thank you!

yukaariki avatar Nov 21 '22 05:11 yukaariki