You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for you to share this project for us. i followed this way to convert the model .h5 to .pb. https://github.com/amir-abdi/keras_to_tensorflow but i got a problem is that 'the model is read only' when i try to do it .
then i try to follow this way to use two ways to get a new model , the first is use model.save() to save the final model, and then to convert the .h5 to .pb, the error is that "yolo_head is not defined"
the second way is that i use model.save_weights(), and also save the model's json file use model.to_json(), when the code try to save the .json file, there also got the same problem that 'yolo_head is not defined'.
could please give me some advices on how to solve this problem . thanks very much .
The text was updated successfully, but these errors were encountered:
Hi, thanks for you to share this project for us. i followed this way to convert the model .h5 to .pb. https://github.com/amir-abdi/keras_to_tensorflow but i got a problem is that 'the model is read only' when i try to do it .
then i try to follow this way to use two ways to get a new model , the first is use
model.save()
to save the final model, and then to convert the .h5 to .pb, the error is that "yolo_head is not defined"the second way is that i use
model.save_weights()
, and also save the model's json file usemodel.to_json()
, when the code try to save the .json file, there also got the same problem that 'yolo_head is not defined'.could please give me some advices on how to solve this problem . thanks very much .
The text was updated successfully, but these errors were encountered: