小编Vin*_*sey的帖子

尽管拥有所有必要的库和导入,但出现“NotImplementedError:无法使用 CUDA 后端的参数运行 'torchvision::nms'”

完整错误:

NotImplementedError: Could not run 'torchvision::nms' with arguments from the 'CUDA' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'torchvision::nms' is only available for these backends: [CPU, QuantizedCPU, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradMPS, AutogradXPU, AutogradHPU, AutogradLazy, Tracer, AutocastCPU, AutocastCUDA, …
Run Code Online (Sandbox Code Playgroud)

python pytorch yolo

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

python ×1

pytorch ×1

yolo ×1