* allow periods within filename, not only for file extension
* don't assume all images are the same resolution
* black reformatting
* Move variable resolution collate logic into vanilla datamanager
* good catch pylint
* now that vanilla supports variable resolution, remove VariableResDataManager
* remove comment
* CONSOLE.print
* avoid `IndexError: tensors used as indices must be long, byte or bool tensors`
* use large dataset parameters for phototourism
* Update pytorch (and functorch) to 1.13.1
Note that for existing installations, the following is recommended due to complications with older versions of functorch:
- `pip uninstall torch torchvision functorch`
- install the correct pytorch 1.13.1 version for your CUDA installation from https://pytorch.org/get-started/locally/ but add functorch to the command -- for example, Windows CUDA 11.7 would be `pip3 install torch torchvision functorch--extra-index-url https://download.pytorch.org/whl/cu117`
- reinstall nerfstudio e.g. `pip install -e .` from the source directory
* Update installation.md
* Allow 1.13.1, don't force
* pytorch 1.12.1 and 1.13.1
* Update README.md
* Update installation.md
* use max resolution when not moving or training
* work around mismatch to allow rgb depth side-by-side output
* Update render.py
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
* when camera_type is equirectangular, add spherical metadata to rendered video
* remove unnecessary CONSOLE.print
* refactor to make pylint happier
* get os.stat size properly; document camera_type argument
* write video on the fly to avoid holding all images in memory
Note: video render width and height were unspecified for spiral trajectory; this uses values for Nerfacto
* fix images output
* doc fix
* Fix IndexError runtime error
fixes this error:
File "C:\code\nerfstudio\nerfstudio\data\dataparsers\nerfstudio_dataparser.py", line 232, in _generate_dataparser_outputs
distortion_params = torch.stack(distort, dim=0)[idx_tensor]
IndexError: tensors used as indices must be long, byte or bool tensors
* Update nerfstudio_dataparser.py
Per discussion at https://github.com/nerfstudio-project/nerfstudio/pull/1057#issuecomment-1332670064