注意报的warning
我这里报找不到对应的dll
在资源管理器,搜索这个dll,找到目录,要是和你torch版本一样的
编译时参考https://blog.csdn.net/qq_35924690/article/details/120483806,这个里面的多个文件
记住生成spec后,在spec的pathex,加入刚刚的目录,还有system32的,这个system32目录参考
http://www.javashuo.com/article/p-rptyzkrj-dr.html
最后
pathex=[‘C:WindowsSystem32downlevel’,‘C:WindowsSysWOW64downlevel’,
‘D:mysoftwarestudyAnaconda3pkgspytorch-1.10.2-cpu_py38h907fbb5_0Libsite-packagestorchlib’,
‘C:Users18214Desktopsmplify-x-master-testsmplify-x-mastersmplifyx’],



