mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
Various minor fixes for typos and types (#105)
* minor fixes for typos and types * run isort
This commit is contained in:
1 parent
74280110ce
commit
14d030ff6f
6 files changed
+22
-20
No files matched your search
@@ -140,7 +140,7 @@ class Graph(AbstractGraph):
|
||||
"""Run forward starting with a ray bundle."""
|
||||
intersected_ray_bundle = self.collider(ray_bundle)
|
||||
|
||||
if isinstance(batch, type(None)):
|
||||
if batch is None:
|
||||
# during inference, keep all rays
|
||||
outputs = self.get_outputs(intersected_ray_bundle)
|
||||
return outputs
|
||||
|
||||
Reference in new issue
Block a user