mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 14:28:41 +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)
|
x = layer(x)
|
||||||
if self.activation:
|
if self.activation:
|
||||||
x = self.activation(x)
|
x = self.activation(x)
|
||||||
|
if self.out_activation is not None:
|
||||||
|
x = self.out_activation(x)
|
||||||
return x
|
return x
|
||||||
Reference in new issue
Block a user