-
Notifications
You must be signed in to change notification settings - Fork 656
Importing custom model - "Model.save" method does not exists #246
Comments
Hello, I have the same problem. Install lucid 0.3.9 from the master branch did work for some cases, like the Keras built-in models (VGG, Inception) and InceptionV1 pb file from "gs://modelzoo/vision/other_models/InceptionV1.pb" . However, I still can't get my own model work with lucid. It seems like the versions of tensorflow and keras matters, can you please share me your solution in detail ? @Shulk7 @colah |
Hello, |
Good Job and Thank you. 😀 I got my problem fixed by using the Keras function API to build the model instead of |
Hello, I am trying to convert and save my YOLOV3 Model - .h5 file to .pb file. I am facing the same issue. I tried https://github.com/Shulk97/lucid/blob/fixing_notebook_and_adding_jupyter/lucid/recipes/keras_model_import_example.py this but no result.
Error: |
Hello, |
I am getting a very low detection accuracy so I am trying to analyze this network.., I tried many libraries but most of all support Classification network. @Shulk97 Thank you for the quick response. |
Hi @Shulk97 I checked the model layer names and saw that the name of the last layer was This also happens with my custom models, I have set the names of my output layers but the error says those are not in the graph. Any ideas? PS: I am using
|
Hello,
I was trying to import a custom model to use with lucid, and using the wiki page "https://github.com/tensorflow/lucid/wiki/Importing-Models-into-Lucid" . I installed Lucid v0.3.8 using pip.
When I do this code:
I get this error :
How come the method "save" does not exist ? Is the tutorial outdated?
Edit :
The last PIP version of Lucid is 0.3.8 and is from Decembre 2018. Since the above tutorial says
"As of 2019, the recommended way to import models for visualization is using Lucid's Model.save()"
I installed Lucid directly from the github repository to have an updated version. Now "Model.save()" works. I think it would be better to precise in the tutorial that the procedure only works for 0.3.9
The text was updated successfully, but these errors were encountered: