eval my voc dataset ' __init__() missing 5 required positional arguments'
Carolyn0822 opened this issue · 4 comments
D:\LeStoreDownload\anaconda3\envs\mytest\python.exe "D:/LeStoreDownload/PyCharm Community Edition 2022.2.2/plugins/python-ce/helpers/pydev/pydevd.py" --multiprocess --qt-support=auto --client 127.0.0.1 --port 52771 --file D:\Carolyn\INS_AI\ssd.pytorch\eval.py
Connected to pydev debugger (build 222.4167.33)
Traceback (most recent call last):
File "D:/LeStoreDownload/PyCharm Community Edition 2022.2.2/plugins/python-ce/helpers/pydev/pydevd.py", line 1496, in exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\LeStoreDownload\PyCharm Community Edition 2022.2.2\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:\Carolyn\INS_AI\ssd.pytorch\eval.py", line 430, in
net = build_ssd('test', 300, num_classes) # initialize SSD
File "D:\Carolyn\INS_AI\ssd.pytorch\ssd.py", line 218, in build_ssd
return SSD(phase, size, base, extras_, head_, num_classes)
File "D:\Carolyn\INS_AI\ssd.pytorch\ssd.py", line 51, in init
self.detect = Detect()
TypeError: init() missing 5 required positional arguments: 'num_classes', 'bkg_label', 'top_k', 'conf_thresh', and 'nms_thresh'
解决这个问题了吗?
您好,请问这个问题解决了吗?
请问这个问题解决了吗
请问这个问题有无大佬解决了