Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eval my voc dataset ' __init__() missing 5 required positional arguments' #583

Open
Carolyn0822 opened this issue Sep 20, 2022 · 4 comments

Comments

@Carolyn0822
Copy link

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'

@lb1234564
Copy link

解决这个问题了吗?

@Xingjie-Han
Copy link

您好,请问这个问题解决了吗?

@Sunzuquan
Copy link

请问这个问题解决了吗

@wei3044
Copy link

wei3044 commented Jan 12, 2024

请问这个问题有无大佬解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants