sasaki takeru
bb9d89cd23
output jpg option and progress bar ( #1896 )
...
* CropParamsMessage
* output jpg and show frame count
* --image-format and --jpeg-quality
---------
Co-authored-by: Saurav Maheshkar <sauravvmaheshkar@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-05-18 16:31:07 -07:00
Matthew Tancik
8f4f89cf87
Don't run temporal tv loss test ( #1952 )
2023-05-18 16:03:25 -07:00
Jonáš Kulhánek
9584fa9b39
Add pre-commit ( #1949 )
...
* Add pre-commit
* Add pre-commit to docs
---------
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-05-18 07:13:58 -07:00
Matthew Tancik
2b0831b6d4
Final typing fixes + add Pyright to CI ( #1944 )
...
* knocking out a couple
* Fix more errors
* Add pyright
* Remove some unnecessary cv2 type ignores, warning on missing imports
(for missing tinycudann)
* Minor annotation fixes
* Update docs
* Drop `None` from temporal distortion output
---------
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-05-18 02:25:34 -07:00
Jonáš Kulhánek
08e3a1f1a6
Drop backward compatibility for Torch 1.13 ( #1948 )
...
* Drop backward compatibility for Torch 1.13
* Fix lint errors
2023-05-18 09:12:51 +02:00
Jonáš Kulhánek
ea3f25d662
Bump torchvision to match PyTorch ( #1947 )
...
Bump torchvision to match torch
2023-05-17 22:45:28 -07:00
Matthew Tancik
e0e48bcecd
Update SD for pytorch 2 ( #1943 )
2023-05-17 17:47:03 -07:00
Jonáš Kulhánek
f481f5ebec
Fix some typing problems ( #1940 )
...
* Fix some typing problems
* nerfstudio.data typing error fixes
* Add tiny fixes
* Remove ABC from pipeline
* Prevent circular imports
* Tweak ModuleList typing
* TrainingCallbackAttributes cleanup
* Various minor nits
* More nits
* Run `ruff`
---------
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-05-17 17:36:56 -07:00
Matthew Tancik
c6111e377e
bump pyproject torch ( #1942 )
2023-05-17 16:35:22 -07:00
Jonáš Kulhánek
e898f562e6
Switching to Torch 2.0 by default. ( #1922 )
...
* Update requirements for torch 2.0
* Update docs
* Fix missing _LRScheduler import
* Fix pylint issues
* Update docs, drop 1.13
* Fix pip postfix version
* fix docs
* Allow python 1.13 (for now)
* Minor fix for torch.compile
* Switch to torch.compile
* ruff
* Fix test
---------
Co-authored-by: Matt Tancik <mattt4001@gmail.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-05-17 16:03:17 -07:00
Giodiro
be291970db
Documentation for k-planes add-on ( #1935 )
...
* Add documentation for kplanes add-on
* Fix all integration spots with nerfstudio
---------
Co-authored-by: gmeanti <giacomo.meanti@gmail.com>
2023-05-17 11:48:08 -07:00
Brent Yi
d542646c72
Switch to ruff ( #1939 )
...
* `isort` -> `ruff`
* `pylint` -> `ruff`
* Remove line
* More minor cleanup
* Better documentation for rules we are enabling
* Fix gitignore, run black
* vscode settings
---------
Co-authored-by: Matt Tancik <mattt4001@gmail.com>
2023-05-17 10:08:14 -07:00
Brent Yi
814db32ec4
More typing fixes ( #1941 )
...
* Fix more types
* Fix tests
* Minor cleaning
* Address comments
* Resolve linting errors
* Re-ignore pymeshlab type
* Add extra assert / error message to mipnerf model
2023-05-17 07:17:40 -07:00
Matthew Tancik
8b9574bb5a
Type fixes and cleanup ( #1937 )
2023-05-16 18:47:46 -07:00
Brent Yi
6ba2a18b2b
torchtyping => jaxtyping (#1838 )
...
* Run `ruff --fix`
* Add jaxtyping migration script
* Run migration scripts + ruff + black
* Merge remote-tracking branch 'origin/main' into brent/jaxtyping
* black
* Fix lint
* fix lint
* Cleanup and more specific types
* Fixed annotation errors
* Fix more errors
* Fix annotation
* Delete _torchtyping_to_jaxtyping.py
---------
Co-authored-by: Matt Tancik <mattt4001@gmail.com>
2023-05-16 15:57:47 -07:00
Jonáš Kulhánek
9b6290ea43
Discover external methods from CLI ( #1934 )
...
* Discover external methods from CLI
* Fix external method registration
* External method add docstrings
* Update docs: register custom method in external_methods.py
2023-05-16 22:15:47 +02:00
Chung Min Kim
7e8fc5c97f
Create PCA colormap for images with channels > 3 ( #1929 )
...
* Init pca colormap for images with channels>3
* --amend
* formatting etc
* formatting etc
* docstring abt >3 channels
---------
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
Co-authored-by: Saurav Maheshkar <sauravvmaheshkar@gmail.com>
2023-05-16 10:46:15 -07:00
Matthew Tancik
6c3106004d
Update contributing docs ( #1926 )
2023-05-16 00:06:43 -07:00
Matthew Tancik
6a23de3819
Add hints to viewer ( #1928 )
...
* Add hints
* Check button
2023-05-15 17:22:30 -07:00
Matthew Tancik
e889598c61
Add button groups to viewer ( #1905 )
...
* Add button groups to viewer
* Cleanup
* Add label
* Port some typing changes from viser, note that `disabled` doesn't work
* black
---------
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-05-15 15:03:15 -07:00
Matt Tancik
9932b0fecf
fix doc error
2023-05-15 15:01:39 -07:00
J.Y
7851dfa9db
Fix bug related to distributed data parallel training ( #1856 )
...
* Fix bug related to distributed data parallel training
* fix format by black
* Add nerfacto-big multi-gpu commands
* cleaned up docs
* reverted default dataset to poster
---------
Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2023-05-15 14:23:29 -07:00
Brent Yi
f1b60d4641
Fix static type for dataparser configs ( #1924 )
2023-05-15 14:15:51 -07:00
Matthew Tancik
415a037880
Update method docs ( #1925 )
...
* Update method docs
* Cleanup
2023-05-15 13:47:40 -07:00
Matthew Tancik
531f9d0c4c
Split up render commands ( #1923 )
...
* Split up render commands
* bump viewer
2023-05-15 11:34:40 -07:00
ksnzh
445e17a3c6
fix pytorch 2.0 optimizer no inf check error ( #1919 )
...
* fix pytorch 2.0 optimizer no inf check error
* Update optimizers.py
2023-05-15 16:49:55 +02:00
Ethan Weber
13e0fce122
Update copyright ( #1917 )
...
* updated copyright
* including txt file
* updated black
* removing license
* fixing license
2023-05-12 16:16:13 -07:00
Fernando Rivas-Manzaneque
bc2651963c
Improved interpolate render ( #1911 )
...
* [WIP] Speed is adjusted depending on camera distance
* [WIP] Speed is adjusted depending on camera distance
* Speed is adjusted depending on camera distance
* Constant time between poses and ordered poses
* Removed old speed adjust
* remove prints
* renamed variables
* added launch.json back
* added back blank lines
* Trying to solve blank line git issue in launch.json
* Added docstring and type annotations
---------
Co-authored-by: jperezh <jperezh@arquimea.com>
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-05-12 15:19:13 -07:00
wuzirui
bc110d7bd9
extract dataparser configs to a stand-alone file, support custom dataparsers ( #1909 )
...
* extract dataparser configs to a stand-alone file, support custom dataparsers
* add license
* fix pylint issues
* fix type error issue
* update naming; add documentations;
* print f string
* fix pylint issue
---------
Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-05-12 15:11:46 -07:00
Ayaan Haque
fe4586839a
Add INGP Docs ( #1774 )
...
* initial draft
* updates
* added details on sampling
* updates
* final notes
---------
Co-authored-by: Ruilong Li(李瑞龙) <ruilongli94@gmail.com>
2023-05-12 14:51:00 -07:00
Matthew Tancik
4242a3c982
Make rich console global ( #1916 )
2023-05-12 14:20:40 -07:00
Jonáš Kulhánek
02f449b661
Implement gradient scaling ( #1901 )
...
* Implement gradient scaling
* Make grad scaling more general
* Fix pylint errors
* Fix lint error + change gradient scaling
* Fix issues with grad scaling
* Fix linting errors
2023-05-12 07:23:41 +02:00
Matthew Tancik
93d0a854be
Fix split options ( #1904 )
2023-05-11 17:12:32 -07:00
Milan van Wouden
278f193721
#1732 fix sdf dataparser no mono paths ( #1910 )
...
* fix sdfstudio data parse without mono depth/normal paths
* fix sdfstudio data parse without mono depth/normal paths
2023-05-11 16:52:28 -07:00
Aman Salykov
79b06ee2bf
fix metashape_to_json() if there is no 'components' tag in .xml ( #1906 )
...
fix metashape_to_json() if no 'components' in .xml
2023-05-10 14:50:48 -07:00
Matthew Tancik
b1ddb9e695
Add split screen ( #1898 )
...
* Add split screen
* bug fixes
2023-05-10 10:55:17 -07:00
Yuantao Chen
e9bba85b08
FIx random indices bug ( #1900 )
...
* Fix mask bug
* Fix Fix_indices bug
2023-05-10 01:38:34 -07:00
Matthew Tancik
72a14b0b22
Move scripts folder into nerfstudio ( #1897 )
...
move scripts folder into nerfstudio
2023-05-09 16:44:21 -07:00
Matthew Tancik
82c0c5545b
Fix misc warnings ( #1894 )
2023-05-09 14:11:28 -07:00
Matthew Tancik
28532c583f
Render with colormaps ( #1893 )
...
* render with colormaps
* black
2023-05-09 12:26:44 -07:00
Jonáš Kulhánek
935e308c93
Fix viewer when opened before train setup finishes ( #1888 )
...
* Fix viewer when opened before train setup finishes
* is_initialized fix docs
2023-05-09 19:52:05 +02:00
Matthew Tancik
df514b121c
Update docs for ns-viewer ( #1892 )
2023-05-09 10:07:11 -07:00
Yan Xiao
38cbb0f358
implementing l1 and tv reg in the original tensorf paper ( #1855 )
...
* implementing l1 and tv reg in the original tensorf paper
* added documentation for tv loss
* added test for tv loss
* fix formating
* fix formatting
---------
Co-authored-by: Yan Xiao <yax010@ucsd.edu>
2023-05-09 09:32:51 -07:00
Yuantao Chen
f92275603a
Fix mask bug ( #1891 )
2023-05-09 09:32:05 -07:00
sasaki takeru
91aec92653
CropParamsMessage ( #1886 )
2023-05-09 09:28:21 -07:00
Matthew Tancik
069fa0f498
Skip scheduler step is opt is not performed ( #1854 )
...
Skip scheduler step is opt is not perfomed
Co-authored-by: Jonas Kulhanek <jonas.kulhanek@live.com>
2023-05-09 07:30:53 -07:00
Matthew Tancik
f299098f46
Fix viewer quit-on-train-completion ( #1885 )
2023-05-08 11:48:28 -07:00
Brent Yi
63c6303736
Bump minimum Python version to 3.8 ( #1876 )
...
* Bump minimum Python version to 3.8
* typing_extensions.Literal -> typing.Literal
* ns-dev-test
* typing_extensions.get_args => typing.get_args
* Format with older version of black
* Bump `black`
* Run black
2023-05-06 13:29:48 -07:00
Ethan Weber
7537551f38
Avoids running test_train.py on external methods ( #1882 )
...
removes testing on external methods
2023-05-06 12:19:26 -07:00
Ethan Weber
d847949fe9
fixing wandb envs ( #1880 )
...
* adding back support for wandb envs
* remove .init
2023-05-06 10:15:48 -07:00