关于“无法解析导入“torchdata.datapipes.iter””的问题
·
1. 在网上看帖子说有可能是因为torch版本不匹配,尝试将torchdata版本回退到低版本,但是会出现版本不兼容的问题
2. 后来在一个github的issue上发现可能是dgl的版本不匹配,在官网Deep Graph Library中,
尝试执行
pip install dgl -f https://data.dgl.ai/wheels/torch-2.1/cu121/repo.html
报错消失解决。
更多推荐




所有评论(0)