pygod
pygod copied to clipboard
Follow the instructions of detector example, which step went wrong?
I`m pretty sure the dataset was downloaded correctlyly
from pygod.utils import load_data
data = load_data(name="inj_cora", cache_dir='/home/zwl/code/Wild-GAD/datasets/text_data/pre/self/inj_cora')
data.y = data.y.bool()
print(data)
from pygod.detector import DOMINANT
detector = DOMINANT(hid_dim=64, num_layers=4, epoch=100)
detector.fit(data)
When I started running this py, the following error occurred.
the print of data:
I'm using the pytorch==2.1.0 and the torch-geometric==2.3.1 for pygod==1.1.0
hi, I also encountered the same problem, have you solved it?
hi, I also encountered the same problem, have you solved it?
I switch to the torch-geometric==2.6.1 and it works
hi, I also encountered the same problem, have you solved it?
I switch to the torch-geometric==2.6.1 and it works
Thank you very much, switching to torch-geometric==2.6.1 solved the problem successfully