You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 29, 2026. It is now read-only.
🐛[BUG]:An activation function problem occurred when calling DGMArch in modulus-sym #213
RuntimeError:
function cannot be used as a value:
File "/home/envs/lib/python3.10/site-packages/modulus/models/layers/dgm_layers.py", line 90
x = self.linear_1(input_1) + self.linear_2(input_2) + self.bias
if self.activation_fn is not None:
~~~~~~~~~~~~~~~~~~ <--- HERE
if self.activation_par is None:
x = self.activation_fn(x)
Closing as part of the archival of this repository. The key components have been upstreamed to NVIDIA/physicsnemo. Please refer to the v2.0 Migration Guide and feel free to re-open your issue there if it is still relevant.
Activity
ktangsali commentedon Apr 29, 2026
Closing as part of the archival of this repository. The key components have been upstreamed to NVIDIA/physicsnemo. Please refer to the v2.0 Migration Guide and feel free to re-open your issue there if it is still relevant.