mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 14:23:57 +08:00
Ability to use vanilla pytorch instead of tcnn for Nerfacto (#1936)
* started a package to easily swap out tcnn for pytorch * trains with pytorch and not tcnn * cleaned up imports * making it easy to install on mac * removed/reverted files * merged main * reverted changes * updating config * starting to add nerfacto to tests * fixxing default value * fixed default implementation * defaults to torch if tcnn and not installed * update log * add comment * resolved pr comments * fix * update default --------- Co-authored-by: Ethan Weber <ethanweber@eecs-128-32-175-250.dhcp.berkeley.edu>
This commit is contained in:
1 parent
400ab5a313
commit
bb6925bac6
19 files changed
+295
-296
No files matched your search
@@ -19,10 +19,10 @@ from math import floor, log
|
||||
from nerfstudio.utils.rich_utils import CONSOLE
|
||||
|
||||
|
||||
def print_tcnn_speed_warning(method_name: str):
|
||||
def print_tcnn_speed_warning(module_name: str):
|
||||
"""Prints a warning about the speed of the TCNN."""
|
||||
CONSOLE.line()
|
||||
CONSOLE.print(f"[bold yellow]WARNING: Using a slow implementation of {method_name}. ")
|
||||
CONSOLE.print(f"[bold yellow]WARNING: Using a slow implementation for the {module_name} module. ")
|
||||
CONSOLE.print(
|
||||
"[bold yellow]:person_running: :person_running: "
|
||||
+ "Install tcnn for speedups :person_running: :person_running:"
|
||||
|
||||
Reference in new issue
Block a user