Skip to content

Conversation

ddilbazTT
Copy link

@ddilbazTT ddilbazTT commented Apr 2, 2025

Weights only load failed. Changed torch.load(file, map_location=cpu) to torch.load(file, map_location=cpu, weights_only=False). Resolves #523. Credit goes to @allansdefreitas.

Weights only load failed. Changed torch.load(file, map_location=cpu) to ckpt = torch.load(file, map_location=cpu, weights_only=False). Resolves THU-MIG#523. Credit goes to @allansdefreitas.
@allansdefreitas
Copy link

Thanks a lot! @ddilbazTT

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

Successfully merging this pull request may close these issues.

WeightsUnpickler error of YoloV10 Model in Google Colab due to Mistrust of Pytorch?

3 participants