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
The new cyto2 network cannot be used from command line #257
Comments
The issue is still not closed. I could use the cyto2 from command line by modifying Line 142 in 4b1eaa3
Line 130 in 4b1eaa3
|
I'm confused, does the github version work for you? if so I'll close the issue |
No, it doesn't. When running from command line, if the diameter is set to zero the program stops at line 147 Line 147 in 4b1eaa3
because it thinks that is a model provided by the user, and therefore it expects the diameter. What I was trying to say in my previous post is that I had to fix line 142 by adding or args.pretrained_model=='cyto2' to make it work also under this condition. If I set the diameter to any positive value, the program runs fine.
|
I forgot to mention that in any case, even with a model provided by the user, the program would fail if the input diameter is set to zero, because of the following error at line 147
|
ah good catch, please try now |
I did a few tests and it seems to be fixed now. Thanks! |
thanks for your help! |
in
__main__.py
:When adding
--pretrained_model cyto2
in the command line, it will obviously not work.However, I have not tried with the full path to the models yet.
The text was updated successfully, but these errors were encountered: