-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fixes for multiple pretrained model files #851
Fixes for multiple pretrained model files #851
Conversation
@gheinrich can you take a look? |
filenames = self.pretrained_model.split(os.path.pathsep) | ||
if len(filenames) > 1: | ||
raise ValueError('Torch does not support multiple pretrained model files') | ||
args.append('--weights=%s' % self.path(filenames[0])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that looks good though (probably not due to this) it seems the error came too quickly to show in the UI, as if we hadn't yet created the socketIO interface. The error message only showed after I reloaded the page.
I tested that it works when only one pretrained model is provided.
This looks good to me. On Linux this is working for me. It's difficult for me to test on Windows as I don't have the set-up. I just verified that |
I will test it here on Windows. |
Did the new image classification model page remove pre-trained weights field? I couldn't find it on 4.0.0-rc.2. |
Look under the "Custom Network" tab |
Thanks. My bad. Still a lot to learn about DIGITS. |
Great, so we're good? Please merge if so. |
Looks great. I believe it works good in Windows now. |
…-models Fixes for multiple pretrained model files
Close #849.
See explanation at #498 (comment).