Skip to content

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

Description

@tinamore

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions