-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi, I have encountered a problem when I run the code following the readme.
The problem shows _"Traceback (most recent call last):
File "/users/Min/HyperGCL/src/train_auto.py", line 903, in
out = model.forward_cl(data_aug1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/users/Min/HyperGCL/src/models.py", line 718, in forward_cl
x = F.relu(self.V2EConvs[i](x, edge_index, norm, self.aggr, aug_weight))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/users/Min/miniconda/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/users/Min/miniconda/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1527, in call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/users/Min/HyperGCL/src/layers.py", line 640, in forward
x = self.propagate(edge_index, x=x, norm=norm, aggr=aggr, aug_weight=aug_weight)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/users/Min/miniconda/lib/python3.11/site-packages/torch_geometric/nn/conv/message_passing.py", line 480, in propagate
out = self.aggregate(out, **aggr_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/users/Min/HyperGCL/src/layers.py", line 665, in aggregate
raise ValueError("aggr was not passed!")
ValueError: aggr was not passed!"
Your response is very helpful to me!