mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-17 13:23:46 +08:00
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>
This commit is contained in:
1 parent
a4755a1349
commit
d71c05f256
37 files changed
+324
-329
No files matched your search
+2
-5
@@ -5,7 +5,6 @@ eval.py
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import logging
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
|
||||
@@ -14,9 +13,7 @@ from rich.console import Console
|
||||
|
||||
from nerfstudio.utils.eval_utils import eval_setup
|
||||
|
||||
console = Console(width=120)
|
||||
|
||||
logging.basicConfig(format="[%(filename)s:%(lineno)d] %(message)s", level=logging.INFO)
|
||||
CONSOLE = Console(width=120)
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -43,7 +40,7 @@ class ComputePSNR:
|
||||
"results": metrics_dict,
|
||||
}
|
||||
self.output_path.write_text(json.dumps(benchmark_info, indent=2), "utf8")
|
||||
console.print(f"Saved results to: {self.output_path}")
|
||||
CONSOLE.print(f"Saved results to: {self.output_path}")
|
||||
|
||||
|
||||
def entrypoint():
|
||||
|
||||
Reference in new issue
Block a user