facebookresearch / facebookresearch/SlowFast

model load

Open
#299 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

when use torch.load to load pretrain-model, arise error belowed:
Traceback (most recent call last):
File "C:/Users/Lysemo/Desktop/linux/SlowFast/model/test.py", line 3, in
checkpoint = torch.load('SLOWFAST_32x2_R101_50_50_v2.1.pkl',map_location='cuda:0')
File "D:\ProgramFiles\Anaconda3\envs\Torch1.6\lib\site-packages\torch\serialization.py", line 585, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "D:\ProgramFiles\Anaconda3\envs\Torch1.6\lib\site-packages\torch\serialization.py", line 755, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa4 in position 5: invalid start byte
please help me, Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.