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
"Since our task will be node classification, we must retrieve an input signal on the nodes. The signal will have shape $n_\\text{nodes} \\times$ in_channels, where in_channels is the dimension of each cell's feature. Here, we have in_channels = channels_nodes $ = 34$. This is because the Karate dataset encodes the identity of each of the 34 nodes as a one hot encoder."
"Here, we have in_channels = channels_nodes $ = 34$. This is because the Karate dataset encodes the identity of each of the 34 nodes as a one hot encoder." This seems to be incorrect as we get 2 dim features:
If as suggested above in 2., the softmax is removed, then the checks y_hat > 0.5 need to be replaced by y_hat > 0. Also for using binary_cross_entropy_with_logits it is probably most convenient to let the model output a 1D vector of logits instead of 2D as is done currently.
There's a crucial typo where y_pred[-len(y_train) :] should instead be y_pred[:len(y_train)] here:
I have a couple of questions/found bugs regarding the HSN tutorial (and hence might impact other tutorials in the simplicial domain).
TopoModelX/tutorials/simplicial/hsn_train.ipynb
Line 326 in 18956de
self.layers = torch.nn.ModuleList(layers)
, so that the parameters get properly registered.TopoModelX/tutorials/simplicial/hsn_train.ipynb
Line 355 in 18956de
softmax
, as later binary crossentropy on logits is used:TopoModelX/tutorials/simplicial/hsn_train.ipynb
Line 415 in 18956de
TopoModelX/tutorials/simplicial/hsn_train.ipynb
Line 120 in 18956de
TopoModelX/tutorials/simplicial/hsn_train.ipynb
Line 145 in 18956de
The text was updated successfully, but these errors were encountered: