AdvancedEAST
AdvancedEAST copied to clipboard
Unable to convert .h5 file to .pb file,TypeError: ('Keyword argument not understood:', 'interpolation')
Hi, I train this model and I'm trying to convert "east_model_3T736.h5" to .pb file. I run: python3 keras_to_tensorflow.py --input_model="/media/jack/code/clion_kdevelop/OCR/keras_to_tensorflow/east_model_3T256.h5" --output_model="/media/jack/code/clion_kdevelop/OCR/keras_to_tensorflow/east_model__3T736.pb"
and get this error: TypeError: ('Keyword argument not understood:', 'interpolation') How can I solve it? Can you help @huoyijie
@globalmaster Have you converted "east_model_3T736.h5" to .pb file successfully?
I have solved it
我已经解决了
怎么解决的,可以说详细写吗
我遇到的问题跟他提出的不一样,但我最后转换成功了,需要把自己自定义的loss加进去,你可以去Keras_to_tensorflow的github 查找相关问题 @wangwangww
我运行keras_to_tensorflow,最后保存ValueError: Unknown loss function:quad_loss,好像和你一样,能不能加个QQ,我想详细了解一下。@wulouzhu
你好,很感谢你的回复,我试了一下Keras_to_tensorflow,我没有改代码,但最后也是报错ValueError: Unknown loss function:quad_loss,可以加个QQ详细向你了解一下吗,怎么把自己定义的loss加进去
------------------ 原始邮件 ------------------ 发件人: "wulouzhu"<[email protected]>; 发送时间: 2019年9月18日(星期三) 下午2:57 收件人: "huoyijie/AdvancedEAST"<[email protected]>; 抄送: "w.w"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [huoyijie/AdvancedEAST] Unable to convert .h5 file to .pb file,TypeError: ('Keyword argument not understood:', 'interpolation') (#63)
我遇到的问题跟他提出的不一样,但我最后转换成功了,需要把自己自定义的loss加进去,你可以去Keras_to_tensorflow的github 查找相关问题 @wangwangww
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@wangwangww 加微信吧,微信号ZDHWLZ
@wulouzhu @globalmaster Do either of you have a east_model_3T736.h5 file you could share? I need to convert it to a tensorflow.js format. I can only find the east_model_weights_3T736.h5
file.
@camhart Hi. where did u find the east_model_weights_3T736.h5 file? There seems to be nothing in my 'saved_mode' folder..
你好,很感谢你的回复,我试了一下Keras_to_tensorflow,我没有改码,但最后也是报错进去 … ------------------ 原始邮件 ------------------ 发件人: "wulouzhu"<[email protected]>; 发送时间: 2019年9月18日(星期三) 下午2:57 收件人: "huoyijie/AdvancedEAST"<[email protected]>; 抄送: "w.w"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [huoyijie/AdvancedEAST] Unable to convert .h5 file to .pb file,TypeError: ('Keyword argument not understood:', 'interpolation') (#63) 我遇到的问题跟他提出的不一样,但我最后转换成功了,需要把自己自定义的loss加进去,你可以去Keras_to_tensorflow的github 查找相关问题 @wangwangww — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
我运行keras_to_tensorflow,最后保存值错误:未知丢失函数:quad_loss,好像和你一样,能不能加个QQ,我想详细了解一下。@wulouzhu
我也遇到了同样的问题,请问你解决了么,能够加个qq请教一下,我的qq是1850061652