Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #59

Open
sina1303 opened this issue Mar 16, 2024 · 4 comments
Open

Error #59

sina1303 opened this issue Mar 16, 2024 · 4 comments

Comments

@sina1303
Copy link

I get this error after installation
Help me please

return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)

File "E:\anime\pythonProject1seg.venv\lib\site-packages\torch\serialization.py", line 777, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '\x0a'.

@bahnsterian
Copy link

Did you find the solution to the problem? I am getting the same error

@CwsMr
Copy link

CwsMr commented Aug 23, 2024

oh No !
I am getting the same error

@MuXiaoKe01
Copy link

me too! How to do?

@Jeffery-MIC
Copy link

In my case, it is because the original ibm drive download link in the code is deprecated which result in the downloaded file become a HTML that says cannot be downloaded. The solution is to download the weight file provided in #53 (comment) and put it into the checkpoints folder and rename it to the corresponding trained dataset. e.g. pannuke.pt.
Hope this will help.

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

No branches or pull requests

5 participants