-
Notifications
You must be signed in to change notification settings - Fork 74
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
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte #8
Comments
From where did you get the "IC15.pth" file |
@decoder746 were you able to train a new model? |
As for your problem do_folder(root) is a function which requires as input a file with certain specifications. To find predictions for a single image, instead of using do_folder you can use the following function:-
|
@deepseek I thought it was the pretrained model given by the author |
it is then
|
@decoder746 |
I downloaded resenet101.pth from https://download.pytorch.org/models/resnet101-5d3b4d8f.pth
|
hmmmm... |
The |
@decoder746 thats why i am asking since it's not clear. |
How did you know to do this? (it works by the way and it loads without complaining) |
Use this to remove the first hidden symbol:
|
@fengxinjie
when running
predict.py
i get the error bellow.I am using the
IC15.pth
and the image below, along withresnet101.pth
from https://download.pytorch.org/models/resnet101-5d3b4d8f.pthThe image trying to predict:

The text was updated successfully, but these errors were encountered: