ma-compbio / Hyper-SAGNN

hypergraph representation learning, graph neural network
MIT License
89 stars 23 forks source link

Too many warnings of deprecation #9

Closed Abel0828 closed 2 years ago

Abel0828 commented 2 years ago

The code gives tons of warning of Deprecations "Warning: maskedfill received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead." The warnings mess up the layout of output messages.

It is just too painful for a user to scrutinize the code piece by piece for this warning. Please fix it. Appreciated!

Edit: Solved by backing to Pytorch 1.1.

ruochiz commented 2 years ago

It should be fixed now. Sorry for the inconvenience. The warning occurs in more recent pytorch versions, which you might have already noticed.