I'm trying to convert a custom yolov4 into a .pb file knowing that the height and the width are different but the converting script has just the size parameter expecting the height to be equal to the width.
In my case:
width=1280
height=352
Example:
python3 convert_weights_pb.py --class_names coco.names --data_format NHWC --weights_file yolov_608.weights --size 608
So I'm wondering if I could keep the model and do the conversion or I should retrain the model with height equal to width.