# -- coding utf-8 --# 应该在界面启动的时候就将模型加载出来设置tmp的目录来放中间的处理结果import shutilfrom PyQt5QtGui import from PyQt5QtCore import from PyQt5QtWidgets import import sysimport cv2import torchimport ospath as ospfrom
这可能是因为您的 Python 版本不支持无参数的 super(),请尝试将其修改为使用参数 super(子类名, self)。例如:
super(MainWindow, self).init()
原文地址: https://www.cveoy.top/t/topic/bPx1 著作权归作者所有。请勿转载和采集!