Skip to content

Commit ac5a898

Browse files
committed
[wingMotion] RELU is faster and equally accurate
1 parent 660833a commit ac5a898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run/meshMotion/wingMotion/mesh_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def train(num_mpi_ranks):
4444
torch.set_default_dtype(torch.float64)
4545

4646
# Initialize the model
47-
model = MLP(num_layers=3, layer_width=50, input_size=2, output_size=2, activation_fn=torch.nn.Sigmoid())
47+
model = MLP(num_layers=3, layer_width=50, input_size=2, output_size=2, activation_fn=torch.nn.ReLU())
4848

4949
# Initialize the optimizer
5050
learning_rate = 1e-03

0 commit comments

Comments
 (0)