Skip to content
New issue

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

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

Already on GitHub? # to your account

Type Error in Darknet.py #149

Open
HansiIMW opened this issue Nov 2, 2020 · 0 comments
Open

Type Error in Darknet.py #149

HansiIMW opened this issue Nov 2, 2020 · 0 comments

Comments

@HansiIMW
Copy link

HansiIMW commented Nov 2, 2020

Hello everybody,
I get the following error when starting cam_demo.py, and I do not understand what is happening here:

Traceback (most recent call last): File "cam_demo.py", line 90, in <module> model = Darknet(cfgfile) File "/home/hansi/Documents/librealsense/wrappers/python/examples/darknet.py", line 294, in __init__ self.net_info, self.module_list = create_modules(self.blocks) File "/home/hansi/Documents/librealsense/wrappers/python/examples/darknet.py", line 157, in create_modules if (x["type"] == "net"): KeyError: 'type'

Pytorch=1.7
python=3.7
opencv is installed etc.

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

No branches or pull requests

1 participant