Skip to content
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

Bị lỗi: your model does not fully load the pre-trained weight. #1

Open
tinamore opened this issue Sep 5, 2021 · 0 comments
Open

Comments

@tinamore
Copy link

tinamore commented Sep 5, 2021

Hi bạn
Cảm ơn project của bạn,
Mình setup chạy trên CPU, ubuntu 20
bị báo lỗi này

loaded weights/line_detect_weight.pth, epoch 110
Drop parameter base.fc.weight.If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Drop parameter base.fc.bias.If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
/pytorch/aten/src/ATen/native/BinaryOps.cpp:81: UserWarning: Integer division of tensors using div or / is deprecated, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.

Khi chạy thử thì báo không phát hiện được CMND:
image
Bạn có thể xem qua giúp mình nhé,
Thanks bạn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant