MMdnn
MMdnn copied to clipboard
Error when converting SphereFace from Caffe to Keras
Hello, I am having issues with the conversion, the activation function PRelu is not supported by the KerasEmitter. How can I bypass this?
Keras version is 2.4.4 (Up-tp-date)
Thanks!
Using TensorFlow backend.
Parse file [6b8d9febaa98422bb0d6df32128d2be0.pb] with binary format successfully.
KerasEmitter has not supported operator [PRelu].
relu1_1
KerasEmitter has not supported operator [PRelu].
relu1_2
KerasEmitter has not supported operator [PRelu].
relu1_3
KerasEmitter has not supported operator [PRelu].
relu2_1
KerasEmitter has not supported operator [PRelu].
relu2_2
KerasEmitter has not supported operator [PRelu].
relu2_3
KerasEmitter has not supported operator [PRelu].
relu2_4
KerasEmitter has not supported operator [PRelu].
relu2_5
KerasEmitter has not supported operator [PRelu].
relu3_1
KerasEmitter has not supported operator [PRelu].
relu3_2
KerasEmitter has not supported operator [PRelu].
relu3_3
KerasEmitter has not supported operator [PRelu].
relu3_4
KerasEmitter has not supported operator [PRelu].
relu3_5
KerasEmitter has not supported operator [PRelu].
relu3_6
KerasEmitter has not supported operator [PRelu].
relu3_7
KerasEmitter has not supported operator [PRelu].
relu3_8
KerasEmitter has not supported operator [PRelu].
relu3_9
KerasEmitter has not supported operator [PRelu].
relu4_1
KerasEmitter has not supported operator [PRelu].
relu4_2
KerasEmitter has not supported operator [PRelu].
relu4_3
Target network code snippet is saved as [6b8d9febaa98422bb0d6df32128d2be0.py].
Traceback (most recent call last):
File "/home//.local/bin/mmconvert", line 11, in
Hi @guesalomon, could you provide your model so I can add the [PRelu] Op and test the accuracy? Thanks
The model and weights are available here:
https://drive.google.com/file/d/1_f1xoFw4g5FL1jRtCTzTO_cbMzgxJcQY/view?usp=sharing
@guesalomon, [PReLU] has been added and you can have a try
Hi,
I have the same issue with PReLU. According to rainLiuplus's comment, I was expecting to find the PReLU in the keras-emitter., but didn't. In which branch could I find that?
Thanks! -johann