-
Notifications
You must be signed in to change notification settings - Fork 87
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
KeyError: 'type' #23
Comments
yolov4: mish to leaky is ok. |
Do you know the reasons why when I run nnie mapper ./yolov4.cfg,the result is |
@@ File "darknet2caffe.py", line 519, in I too am getting the above error while running the code, does anyone know how to fix this and get the caffe model correctly. @ChenYingpeng @becauseofAI |
用python3 的话生成的protoxt文件为空,要修改里面的print为fp.write() |
Edit
|
yolov4: mish to relu
('upsample:', 119)
('upsample:', 129)
unknow layer type yolo
unknow layer type yolo
unknow layer type yolo
Traceback (most recent call last):
File "darknet2caffe.py", line 519, in
darknet2caffe(cfgfile, weightfile, protofile, caffemodel)
File "darknet2caffe.py", line 15, in darknet2caffe
save_prototxt(net_info , protofile, region=False)
File "/home/lab/soft/darknet2caffe/prototxt.py", line 173, in save_prototxt
if layer['type'] != 'Region' or region == True:
KeyError: 'type'
The text was updated successfully, but these errors were encountered: