Open xellDart opened 2 years ago
Let me see whether I can support that op. Can you attach your model h5df here? For mean and norm, it should be 128 and 1/127.5
Thanks for your help..
This is the model: Keras model
I already train with same configuration for MobileNetv2,
tf.keras.applications.MobileNetV2(..) and with this version, all work !
Many thanks for your help and work!
你看到你的模型输入形状是[N,H,W,C]; 但是ncnn默认支持的是[N,C,H,W]. 当使用ncnn推理时,你是如何解决输入形状的转换问题的?
You can check the code, we do transpose on weight itself directly.
Thanks for your help..
This is the model: Keras model
I already train with same configuration for MobileNetv2,
tf.keras.applications.MobileNetV2(..) and with this version, all work !
Many thanks for your help and work!
Sorry I got so busy recently. I will try to get it support soon. :p
你看到你的模型输入形状是[N,H,W,C]; 但是ncnn默认支持的是[N,C,H,W]. 当使用ncnn推理时,你是如何解决输入形状的转换问题的?
你好,请问这个对模型的输出有影响吗?因为我看了ncnn mat是nchw的格式但是好像转出来的模型的输入层上显示依旧是nhwc,但是下面的其他层好像已经变成nchw了,我的模型现在无法输出正确结果issue,请问会和这个有关系吗?
Hi, I try to convert model to nccn using Mobilenetv3Small, but I get this error
ERROR] Operator Rescaling not support.
{'name': 'rescaling', 'trainable': False, 'dtype': 'float32', 'scale': 0.00784313725490196, 'offset': -1.0}
Mi training code:
IMG_SIZE = 320 # All images will be resized to 160x160
Model summary
Another question, what is the correct mean - norm values for this model?
Thanks