deepinsight / deepinsight/insightface

arcface_torch model load error

Open
#1,795 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/15704302/138022352-de6251ef-db6f-483c-9764-d5607e5d63f6.png)

I train arcface using arcface_torch, then I test the saved model, the issue is torch.load():
deserialized_objects[key]
RuntimeError: storage has wrong size: expected 333232334534 got 128

How deal it ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure in the arcface_torch model-loading path using the saved model and the reported torch.load() call. Check the training and testing entry points for mismatched checkpoint or storage handling; done means the saved model loads successfully for testing without the storage-size error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.