Commit Graph
112 Commits
Author SHA1 Message Date
Matthew Tancik af29ead3a2 Fix the typeguard version (#1612)
* Fix the typeguard version

* avoid torch 2

* fix
2023-03-15 18:33:58 -07:00
Matthew Tancik 7ae2fce52b v0.1.19 (#1585) 2023-03-10 18:10:33 -08:00
Matthew Tancik 63af268495 Remove webrtc (#1579)
* Remove webrtc

* cleanup

* lint

* cleanup

* Lower quailty

* Update viewer version

* Update docs

* remove cryptography req
2023-03-10 12:00:35 -08:00
Paul Wais 5c73766653 SFM: sfm-based depth, some breadcrumbs for pycolmap (#1457)
* save

* save

* more cleanup

* save

* save

* update phototourism

* save

* works

* works

* cleanup

* cleanup

* lint

* python3 default

* cleanup
2023-02-25 21:10:53 -08:00
Ruilong Li(李瑞龙) 3933589b94 bump nerfacc to 0.3.5 (#1492) 2023-02-24 11:17:21 -08:00
796fad8bcb Equirectangular input (#1446)
* started adding equirectangular to process_data

* was multiplying frame by 255 twice

* added equi2planar configs for the 3 presets

* fixed presets

* setup process data

* changed variable name and comment

* fixed middle preset

* removed third preset

* added progress bar and fixed video for equirectangular input

* fixed whitespace stuff

* added pyequilib dependencey

* Updated for JPG support for equirectangular image input

Updated process_data_utils for JPG support for equirectangular image input, since even though .jpg images worked, .JPG images (output from 360 camera software) were not working.

* changed file type matching

* added equirect utils

* added license header

* added docstring on equirect utils

* added heuristic for image size

* added heuristic for videos

* fixed linty stuff

* shortened code

* raised error if no ims in directory

* Updated ProcessVideo for fixing directories for equirectangular input

Updated the ProcessVideo for equirectangular input to make the image directory have the correct perspective projections. The original equirectangular images are copied into a temp_images folder which also holds the perspective projections. This folder is deleted once the perspective projections are copied into the process data images folder.

---------

Co-authored-by: cvachha <cyrus.vachha@yahoo.com>
Co-authored-by: cvachha <cvachha549@gmail.com>
2023-02-20 10:58:42 -08:00
Matthew Tancik e2dadc20ab v0.1.18 (#1455) 2023-02-19 14:49:59 -08:00
machenmusik 9c5423f181 Update to allow pytorch (and functorch) 1.13.1 (#1390)
* 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
2023-02-14 08:59:26 -05:00
Matthew Tancik 9808ebbcb8 v0.1.17 (#1409) 2023-02-12 11:14:12 -08:00
Matthew Tancik 2b52f51b88 Downgrade nerfacc to 0.3.3 (#1408)
reset nerfacc to 0.3.3
2023-02-12 11:05:59 -08:00
Jonáš Kulhánek 6368340aa2 Add ns-viewer command to run viewer only with model in eval mode (#1379)
* Add ns-viewer command to run only viewer with model in eval mode

* Remove profiler and logger

* Fix ns-viewer

* ns-viewer remove writer.setup_local_writer

* ns-viewer add writer.setup_local_writer

* ns-viewer: update docs

* Delete outputs
2023-02-09 17:31:16 -08:00
Jonáš Kulhánek 59f71eda0e Allow methods configs to be discovered from external packages. (#1357)
* Allow method_config to be registered from external packages

* Add license

* Add MethodSpecification class + fix linter errors

---------
2023-02-06 13:25:33 -08:00
Matthew Tancik e979f89200 Avoid protobuf 3.20.0 (#1330) 2023-02-01 12:21:57 -08:00
11e7fa87e0 Add Stable Diffusion helper code (#1320)
* Add stable diffusion

* Add dependencies fix lint

* Update types

* Update comment

* fix comments

---------

Co-authored-by: David McAllister <davidrmc2@gmail.com>
Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-02-01 10:29:08 -08:00
machenmusikandChen, Michael edef6d62f6 bump nerfacc to 0.3.4 (#1322)
Co-authored-by: Chen, Michael <Michael_Chen@cable.comcast.com>
2023-01-31 18:52:42 -08:00
Matthew TancikandAbhik Ahuja 867ed48f30 Tancik/protobuf version req update (#1303)
* Fix normal orientation loss

* Update protobuf req

---------

Co-authored-by: Abhik Ahuja <ahujaabhik@berkeley.edu>
2023-01-29 09:05:07 -08:00
Matthew Tancik 7979310def v0.1.16 (#1296) 2023-01-26 19:19:15 -08:00
David McAllisterandMatthew Tancik 2ce08f6363 PIL Dependency (#1197)
Update pyproject.toml

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-26 16:36:28 -08:00
machenmusik a4b023b171 Rollback cryptography to fully working version (pre-39; 38 works) (#1254) 2023-01-18 15:20:03 -08:00
Matthew Tancik 628e4fe1a6 Bump nerfacc to 0.3.3 (#1249) 2023-01-17 17:46:28 -08:00
Matthew Tancik 2082d6bcaf Loosen dependencies (#1240)
* remove protobuf pinned version requirement

* Loosen dependencies

* Protobuf can't be too new
2023-01-16 17:00:05 -08:00
Matthew Tancik b88747dd20 v0.1.15 (#1237) 2023-01-16 15:37:44 -08:00
Ruilong Li(李瑞龙) 028df82be6 upgrade nerfacc to 0.3.x with CUB accel (#1187) 2022-12-31 07:28:11 +08:00
Matthew Tancik af5953e2a8 v0.1.14 (#1145) 2022-12-18 13:15:28 -08:00
Alexander Kristoffersen cc38d48294 Upgraded Gdown to fix data downloading. (#1140)
upgraded gdown to fix some data downloads.
2022-12-16 12:42:45 -08:00
Matthew Tancik 910e7bfb05 v0.1.13 (#1107) 2022-12-11 13:05:03 -08:00
Ethan Weber f6ac1d72ff v0.1.12 (#1079) 2022-12-02 18:22:26 -08:00
Ethan WeberandMatt Tancik 1052fccec2 Mesh export (#809)
* start of mesh PR

* point cloud export mvp

* start of mesh PR

* point cloud export mvp

* Save out mesh. Poor quality atm

* reorganized mesh algorithms and specified CLI

* CLI reorg

* tsdf algorithm in progress

* debugging

* tsdf functional but camera distortion params not in

* playing with distortion params

* TSDF works but texture looks bad

* added trimesh

* moved to exporter

* removed files

* saving progress

* save texture image

* seems to work w/o barycentric

* barycentric start

* gap between triangles

* blocking out diagonal

* new barcentric and scaling

* meshing working. need to remove extra rows

* fixed triangle packing

* gitignore changes

* removed package

* fix Literal import

* comments

* update .mtl file

* poisson mesh with model output normals & resolved some PR comments on git

* starting docs. breaking up big function. todo: add xatlas

* xatlas and nvdiffrast working

* triangle_id

* progress on expensive texture coordinates method

* pytorch meshing works

* removing nvdiffrast

* remove trimesh

* cleanup

* few changes

* pred normals by default and add minimum additions to viewer

* fix cli in viewer

* add xatlas as dependency

* make point cloud more dense

* reverted viewer changes

* turn off normals by default

* fix docs

* finished todos on github

* remove xatlas

* xatlas

* black

Co-authored-by: Matt Tancik <tancik@berkeley.edu>
2022-12-02 10:49:19 -08:00
Matthew Tancik 6c805b6d33 v0.1.11 (#1043) 2022-11-28 15:16:54 -08:00
Matthew Tancik 0a57c7c72b Ignore non-image files in ns-process-data (#1040)
* Ignore non-image files in ns-process-data

* Update reqs

* bump ipython
2022-11-28 10:38:37 -08:00
Matthew Tancik 54d822afcc v0.1.10 (#974) 2022-11-17 10:17:52 -08:00
Matthew Tancik 6baf31dc9a Fix python 3.7 support (#959) 2022-11-15 09:51:23 -08:00
Zak Murezandzmurez 6ea7dbf934 NuScenes dataparser (#939)
* nuscenes dataparser

* cleanup

* style

* cleanup

* cleanup

* cleanup

Co-authored-by: zmurez <zmurez@eng.ucsd.edu>
2022-11-11 18:40:36 -08:00
Matthew Tancik f964e0dfe4 v0.1.9 (#941) 2022-11-10 22:50:44 -08:00
Matthew Tancik ee6b007155 Avoid boolean flag auto conversion (#929) 2022-11-09 20:23:05 -08:00
Matthew Tancik 8d3640c6a1 Support exporting point clouds (#924)
* Support exporting point clouds

* Fix typing

* lint

* Update requirements
2022-11-08 22:23:06 -08:00
Matthew Tancik cda22ce606 v0.1.8 (#890) 2022-11-03 12:24:28 -07:00
Matthew Tancik 7aa28d0f8d v0.1.7 (#852) 2022-10-29 16:15:39 -07:00
Matthew Tancik fdddbacc45 v0.1.6 (#820) 2022-10-21 09:53:39 -07:00
Matthew Tancik 9bed69601f Support python 3.7 (#802)
* Support python 3.7

* Update docs
2022-10-18 16:49:27 -07:00
Matthew Tancik 0a76360f99 v0.1.5.1 (#796) 2022-10-17 09:21:50 -07:00
Matthew Tancik 646adee9f9 v0.1.5 (#786) 2022-10-16 12:59:39 -07:00
Brent YiandMatthew Tancik 192a7efcba Fix tab completion for PyPI installs, add py.typed (#777)
Add py.typed + tab completion scripts to package data

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2022-10-14 18:55:48 -07:00
Ethan WeberandEthan Weber d71c05f256 Google Colab support with viewer (#747)
* allows bridge server to run on a different machine

* added script

* update version

* starting docs

* update docs and scripts

* ngrok support

* use tcp

* moving webrtc outside bridge server. wop

* lazy commit

* lazy commit

* running code. webrtc not working

* lazy commit

* better logic for webrtc connection

* cleanup

* todo comment

* working webrtc

* removed logging

* fixing black

* fix eslint

* fix python version

* fix readme

* misc cleanup

* small docs fix

Co-authored-by: Ethan Weber <ethanweber@Ethans-MacBook-Pro.local>
2022-10-14 15:05:28 -07:00
Matthew Tancik 6b7cb70f0d v0.1.4 (#767) 2022-10-12 18:14:21 -07:00
2150bad0e4 Reducing flicker artifacts for nerfacto method (#750)
* pose opt default nerfacto.

* added SO3 cam pose optimization which is slightly faster (~2.2m/iter) than BARF

* added occupancy grid with placeholder until nerfacc is updated to query density from it

* added occupancy grid sampling as the level 0 in proposal hierarchy, relies on nerfacc 0.1.7 (on pypi)

* merge main

* merge main

* minor changes to sampling

* adjusted sample number

* refactor occ grid stuff, settle on decent params

* nograd proposal sampling

* param tweaks

* varying resolution proposal networks

* params

* merged main

* optimizer update

* remove occ grid

* remove double nerfacto samples

* set single jitter to true

* remove pdb

* more changes

* fix method defaults

* fix pylint

* remove occupancy fn

Co-authored-by: akristoffersen <akristoffersen@berkeley.edu>
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2022-10-11 14:21:00 -07:00
Ruilong Li(李瑞龙) e94b093b57 bump nerfacc to 0.2.0. bug fix for depth vis. (#744)
* bump nerfacc to 0.2.0. bug fix for depth vis.

* skip emtpy region for nerfacc raymarching
2022-10-09 19:16:30 -07:00
Ethan Weber 8b354a498c v0.1.3 (#736) 2022-10-07 15:52:13 -07:00
Ethan Weber 802c4daeaf v0.1.2 (#728)
bump version
2022-10-07 11:48:46 -07:00
Matthew Tancik 5ff9fe9c08 v0.1.1 (#720) 2022-10-06 13:47:33 -07:00