Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot instantiate a basic AllSet net #307

Open
peekxc opened this issue Dec 17, 2024 · 0 comments
Open

Cannot instantiate a basic AllSet net #307

peekxc opened this issue Dec 17, 2024 · 0 comments

Comments

@peekxc
Copy link

peekxc commented Dec 17, 2024

When I do:

from topomodelx.nn.hypergraph.allset import AllSet
AllSet(1,1)

I get the (truncated) error:

...
--> [58] (...hypergraph/allset_layer.py:58) self.vertex2edge = AllSetBlock(...)
--> [231](...hypergraph/allset_layer.py:231) self.encoder = MLP(...)
--> [177](...hypergraph/allset_layer.py:177) layers.append(activation_layer(**params))
TypeError: 'NoneType' object is not callable

I tried supplying the sigmoid callable from torch.nn.functional to the mlp_activation argument but to no avail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant