mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +08:00
Missing mlp output activation (#930)
This commit is contained in:
1 parent
ee6b007155
commit
3833e4de56
1 file changed
+2
@@ -93,4 +93,6 @@ class MLP(FieldComponent):
|
||||
x = layer(x)
|
||||
if self.activation:
|
||||
x = self.activation(x)
|
||||
if self.out_activation is not None:
|
||||
x = self.out_activation(x)
|
||||
return x
|
||||
Reference in new issue
Block a user