Open shangdibufashi opened 4 years ago
Thanks for your opinion. I'm trying to convert yolov4 to other models. I'll update it asap. Please waiting for me.
Great work! Would you please convert yolov4 to onnx ?
@jiapinai I converted Yolov4 to some models like tensorflow, keras, mlmodel. I will continue to update it. Please fork this source code to update. Thank you.
Thank you very much :)
Heey, thanks for your great work, I am trying to convert the YoloV4 cfg and weights into ONNX, and I have first (succesfully) tried to convert the cfg + weights into keras h5, and after that converting the h5 into ONNX, but I get the error of keras2onnx saying that the mish activation layer is not supported, and i do not know how to add a custom activation function, any idea how could I correct this?
Moreover, I think it's a good idea to have a requirements.txt file, in order to know which pip packages to install, as I have seen you are using an older approach of keras, instead of using tf.keras
Moreover, I think it's a good idea to have a requirements.txt file, in order to know which pip packages to install, as I have seen you are using an older approach of keras, instead of using tf.keras @joanesplazaola , You can use the latest version of Keras. And the TensorFlow I'm using is 1.13.1.
Heey, thanks for your great work, I am trying to convert the YoloV4 cfg and weights into ONNX, and I have first (succesfully) tried to convert the cfg + weights into keras h5, and after that converting the h5 into ONNX, but I get the error of keras2onnx saying that the mish activation layer is not supported, and i do not know how to add a custom activation function, any idea how could I correct this?
@joanesplazaola , I have not done the conversion for Onnx. I will update it soonest. Please check the types of models that have been successfully converted at Readme.md.
@phanxuanduc1996 , Thanks for the fast reply, if you need any help with the conversion to onnx write me please :)
how to convert yolov4.pb to tensorflow serving?
Hello everyone,
Recently I was busy with my personal work so I couldn't check your messages. Very sorry about this.
Looking ahead, I will continue to perform some previous bug fixes like the onnx model.
@pake2070 , I do not understand you. Please describe it in more detail.
For TensorFlow, please check in the tensorflow_convert
folder. I have run both methods and it works.
Hi, Tried to convert yolov4.pt to yolov4.onnx, python convert_pytorch_to_onnx.py
Traceback (most recent call last):
File "convert_pytorch_to_onnx.py", line 25, in
Great work! Would you please convert yolov4 to onnx ?