Skip to content

download model file is corrupted #95

@AdamBear

Description

@AdamBear

After downloaded chinses_sim.pth and chinses.pth, their calculated md5 is not matched with the value defined in model_urls.

I changed code to ignore the md5 check, but the following error is raised:

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\serialization.py", line 529, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\serialization.py", line 709, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 496857 more bytes. The file might be corrupted.

maybe the model file is really corrupted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions