Fixing Tuple converting to int error.

This commit is contained in:
Ethan Weber authored and GitHub committed 2022-04-25 08:45:35 -07:00
1 parent 11d9c7271a
commit 9912c812c0
1 file changed
+1 -1
+1 -1
View File
@@ -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