如果在运行python,pyorch代码时出现RuntimeError: Trying to resize storage that is not resizable at …\aten\src\TH\THStorageFunctions.cpp:
可能仅仅是因为你的num_works没有设置为0或者相应的显卡个数,即读取数据的线程与实际处理的线程不匹配
RuntimeError: Trying to resize storage that is not resizable at ..\aten\src\TH\THStorageFunctions.cp
最新推荐文章于 2024-05-21 15:39:16 发布