I am getting this error while trying to convert the yolov3 model.
$ python convert.py model_data/yolov3.cfg model_data/yolov3.weights model_data/yolo_weights.h5
Using TensorFlow backend.
Loading weights.
('Weights Header: ', 0, 2, 0, array([32013312]))
Parsing Darknet config.
Traceback (most recent call last):
File "convert.py", line 263, in
_main(parser.parse_args())
File "convert.py", line 84, in _main
unique_config_file = unique_config_sections(config_path)
File "convert.py", line 54, in unique_config_sections
output_stream.write(line)
TypeError: unicode argument expected, got 'str'
I am using
Keras 2.2.4
Tensorflow 1.15.0
Also, which version of python do you suggest to use?