Skip to content

Update darknet.py#1116

Open
ShrishtiHore wants to merge 1 commit intothtrieu:masterfrom
ShrishtiHore:patch-1
Open

Update darknet.py#1116
ShrishtiHore wants to merge 1 commit intothtrieu:masterfrom
ShrishtiHore:patch-1

Conversation

@ShrishtiHore
Copy link

Due to this issue :
Parsing yolov2.cfg
/content/darkflow/darkflow/dark/darknet.py:54: UserWarning: ./cfg/yolov2.cfg not found, use yolov2.cfg instead
cfg_path, FLAGS.model))

KeyError Traceback (most recent call last)
in ()
4 'threshold': 0.3
5 }
----> 6 tfnet = TFNet(options)

4 frames
/content/darkflow/darkflow/utils/process.py in parser(model)
27 if '[' in line:
28 if layer != dict():
---> 29 if layer['type'] == '[net]':
30 h = layer['height']
31 w = layer['width']

KeyError: 'type'

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

Successfully merging this pull request may close these issues.

1 participant