-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trained model conversion to coreml #32
Comments
I guess so. The custom modules are only used in training, and the generator for testing is formed by standard modules in tensorflow, like convolutional layers. |
@shepnerd , do you have .pb file of this tensorflow model? Also i think i would need .meta file (i might be wrong here) inorder to convert checkpoints into .pb file |
@shepnerd Ive tried to generate .meta file by retraining places_2 model. but now i get the following error And I am using the following code to convert checkpoint files into .pb file Also if you may please guide me about, what the output_node_name is thn it would be helpfull |
Successfully converted tensorflow model into Coreml. Thanks @shepnerd |
@farazBhatti I'm trying to go through this process and converting this model to CoreML, can you please share how did you create the .meta file and how did you convert it to CoreML? Thanks |
@developeder , u would have to first freeze tf model
mesg here again after freezing model |
@farazBhatti Thank you for the quick response! |
use this code to now convert frozen tf model to coreml. note: dimensions of tf input for my model were 500 * 500, change these values accordingly to yours.
|
Hi, is it possible to convert your trained pytorch or tensorflow model into coreml without implementing custom layer?
The text was updated successfully, but these errors were encountered: