Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

use keras pretrained model, save_mxnet_model error #260

Open
Juldeng opened this issue Apr 23, 2020 · 0 comments
Open

use keras pretrained model, save_mxnet_model error #260

Juldeng opened this issue Apr 23, 2020 · 0 comments

Comments

@Juldeng
Copy link

Juldeng commented Apr 23, 2020

AttributeError: 'Model' object has no attribute 'compiled'. my code:
from keras.models import load_model, save_mxnet_model
model_keras=load_model("model_keras.h5",custom_objects=None)
save_mxnet_model(model_keras, prefix='lp_detector')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant