Ultra-Light-Fast-Generic-Face-Detector-1MB
Ultra-Light-Fast-Generic-Face-Detector-1MB copied to clipboard
A `Concatenate` layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, None, 2), (None, 4420, 4)]
你好,我这边调用你的convert_tensorflow.py脚本,对工程中预训练模型进行转换,出现以下错误,log打出如下:
Traceback (most recent call last):
File "/home/wfy/project/python_project/face/ultra_face/tf/convert_tensorflow.py", line 37, in Concatenate
layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, None, 2), (None, 4420, 4)]
使用的tf版本是1.13的,通过debug定位到是utils.py脚本中的result = tf.keras.layers.Concatenate(axis=-1)([cls, loc])出错
期盼解答,谢谢!