mystic123 / tensorflow-yolo-v3

Implementation of YOLO v3 object detector in Tensorflow (TF-Slim)
https://medium.com/@pawekapica_31302/implementing-yolo-v3-in-tensorflow-tf-slim-c3c55ff59dbe
Apache License 2.0
890 stars 353 forks source link

ValueError: cannot reshape array of size 3122147 into shape (1024,512,3,3) #108

Open AnnALekhinaE opened 3 years ago

AnnALekhinaE commented 3 years ago

Hey! I am trying to convert the yolov3 + lstm + spp model in layers, obtained from the alexeyab custom models repository. I run the following command: python convert_weights_pb.py --class_names obj.names --data_format NHWC --weights_file yolo_v3_spp_lstm_final.weights --spp And I get the following error: Снимок экрана от 2021-06-16 13-37-33 The --spp flag does not help in any way in solving this error. How can this problem be solved? I want to prepare a model to work with OpenVINO

KuoEuran commented 3 years ago

because your model or your input shape is not suitable