Closed wuhaoran111 closed 1 year ago
You can try the following command: pip uninstall torch_geometric pip install torch_geometric
You may installed torch_geometric with wrong edition before. Please reintall the torch_geometric and remove the processed file in dataset. It works for me. The reason is that it processed the data with unsuitable form at the first time you run the program. And when you run this program again, the Dataloader will check if there is file named 'processed' exist. If it is there, it will not run the data processing code and directly read the processed data files. But torch_geometric with diffirent edictions process diffirent data forms and it cause the problem.
The reason is that it processed the data with unsuitable form at the first time you run the program. And when you run this program again, the Dataloader will check if there is file named 'processed' exist. If it is there, it will not run the data processing code and directly read the processed data files. But torch_geometric with diffirent edictions process diffirent data forms and it cause the problem.
Yes, that's it. Thank you.
After i follow the instructions of this repo:
and then i run:
python eval.py --root ../datasets/ --batch_size 32 --ckpt_path checkpoints/HiVT-64/checkpoints/epoch\=63-step\=411903.ckpt
it always show that:
I'm stucked here for several times. And i don't know how to solve it. Hope to get your help.