DW2TF icon indicating copy to clipboard operation
DW2TF copied to clipboard

Assert in "/Users/Test/code/DW2TF/util/cfg_layer.py", line 162

Open oldGrumpyEngineer opened this issue 5 years ago • 2 comments

DW2TF looked like exactly what I needed, to convert darknet model to TensorFlow. I have trained a custom model based on yolov3-tiny.cfg, with some custom changes. One of the changes is to change stride in one of the layers to 8.

This triggers an assert in "/Users/Test/code/DW2TF/util/cfg_layer.py", line 162

Can this be fixed?

oldGrumpyEngineer avatar May 04 '19 15:05 oldGrumpyEngineer

yolov3-tiny.cfg.txt

Attached cfg file (renamed to txt) for reference.

oldGrumpyEngineer avatar May 04 '19 15:05 oldGrumpyEngineer

Removed the assert and conversion seemed to go through. Not sure whether the model is any good, in the process of verification.

oldGrumpyEngineer avatar May 07 '19 18:05 oldGrumpyEngineer