mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
Fixing Tuple converting to int error.
This commit is contained in:
1 parent
11d9c7271a
commit
9912c812c0
1 file changed
+1
-1
@@ -24,7 +24,7 @@ from mattport.structures.rays import RaySamples
|
||||
class NeRFField(nn.Module):
|
||||
"""NeRF module"""
|
||||
|
||||
def __init__(self, num_layers=8, layer_width=256, skip_connections: Tuple = (4)) -> None:
|
||||
def __init__(self, num_layers=8, layer_width=256, skip_connections: Tuple = (4,)) -> None:
|
||||
super().__init__()
|
||||
self.num_layers = num_layers
|
||||
self.layer_width = layer_width
|
||||
|
||||
Reference in new issue
Block a user