Metapath2Vec run error

When i run the code in win10 by following command: python metapath2vec.py --aminer --path net_aminer --output_file out_aminer.
Then it will prompt and report the error as follows:


I don’t know how to solve it and why I made this mistake.So I hope to get help, thank you!
My anaconda create a environment named metapath2Vec:python 3.7.11;pytorch 1.4.0;cpu DGL.
Sincerely hope to get help and be grateful.

Did you generate the metapaths with sampler.py?

I have tried both of the two running modes mentioned in the platform.
1、There will be an error when I run sample.py using the DBLS dataset and then run metapath2vec.py to train.
2、Running metapath2vec.py directly with the default AMINER dataset also prompts an error

After reading the latest version of the manual, the pytorch version has been updated to 1.10.2, but the error is still reported after running.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.