-
Notifications
You must be signed in to change notification settings - Fork 5
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
Exporting StarDist model to DeepImageJ model #2
Comments
Hi @romainGuiet, StarDist library works a bit different so the code needs to be adapted. There is a new notebook in the repository to store StarDist models as TensorFlow SavedModel: It is written for StarDist version 0.3.6 (most updated version until now): Once you read your model using StarDist2D:
the input and output are given as
Hence, to export it as a TensorFlow SavedModel you can now use a very similar code:
I hope this helps! Thank you for reporting the issue |
Hi @esgomezm, |
Hi @deepimagej ,
I would like to use my own StarDist model ( we had to add images from our dataset with new annotations) but I can not find a way to export it (yet).
I tried re-using your code example but got these troubles :
-I’ve loaded my model using the function from StarDist and got :
so I guessed that StarDist model might not have an input !
So I tried to use the keras function from your code and got :
so the StarDist model might not be compatible with keras function!
Would you have an example of code for stardist?
Best regards,
Romain
The text was updated successfully, but these errors were encountered: