Open ArifSohaib opened 5 years ago
Hi @ArifSohaib I took reference from this repo and made my own version of yolov3 with just the core API 1.12 (I think it will work in 1.13 too). Maybe you will find it helpful in converting to TF2.0. Link is here: https://github.com/anhminh3105/YOLOw
I am trying to remove slim and contrib from this repo to convert to Tensorflow 2.0 using the instructions here: https://www.tensorflow.org/alpha/guide/migration_guide but this line
inputs = inputs + shortcuts
is giving an error:ValueError: Dimensions must be equal, but are 256 and 512 for 'detector/darknet-53/add_3' (op: 'Add') with input shapes: [?,256,52,52], [?,512,52,52].
My code for the conversion is here: https://github.com/ArifSohaib/tensorflow-yolo-v3/blob/master/yolo_v3_tf2.py
The full log is:
Is there any way to fix this?