|
发表于 2024-11-10 23:32:34
|
显示全部楼层
大佬,想问一下,方便的话请看一下这个问题,本来正常使用,昨天突然这样了,信息如下:
D:\Rope-Live-Next>if exist "activate.bat" (call activate.bat )
D:\Rope-Live-Next\venv3.10\lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
@torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
Traceback (most recent call last):
File "D:\Rope-Live-Next\Rope.py", line 5, in <module>
Coordinator.run()
File "D:\Rope-Live-Next\rope\Coordinator.py", line 213, in run
gui.initialize_gui()
File "D:\Rope-Live-Next\rope\GUI.py", line 1826, in initialize_gui
self.resize_image()
File "D:\Rope-Live-Next\rope\GUI.py", line 2552, in resize_image
image = cv2.resize(image, (int(x2), int(y2)))
cv2.error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'
请按任意键继续. . .
按任意键后直接退出了……………… |
|