pytorch-yolo-v3 icon indicating copy to clipboard operation
pytorch-yolo-v3 copied to clipboard

Type Error in Darknet.py

Open HansiIMW opened this issue 5 years ago • 0 comments

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.

HansiIMW avatar Nov 02 '20 13:11 HansiIMW