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

UnpicklingError: Weights only load failed. Unpickler error: Unsupported class numpy.core.multiarray._reconstruct #348

Closed
tybantarnusa opened this issue Apr 15, 2023 · 4 comments · Fixed by #354
Labels
bug Something isn't working

Comments

@tybantarnusa
Copy link

tybantarnusa commented Apr 15, 2023

Describe the bug
I tried to update, but I got this exception start from version 3.6.0 during inference

UnpicklingError: Weights only load failed. Re-running `torch.load` with `weights_only` set to `False` will likely succeed, but it can result in arbitrary code execution.Do it only if you get the file from a trusted source. WeightsUnpickler error: Unsupported class numpy.core.multiarray._reconstruct

To Reproduce
Steps to reproduce the behavior:

  • Update so-vits-svc-fork
  • Run inference

Additional context
Initially I updated to version 3.8.0, because of the exception I tried to solve by keep downgrading the version until I got to version 3.5.1 to solve the problem.

@tybantarnusa tybantarnusa added the bug Something isn't working label Apr 15, 2023
@ruckusmattster
Copy link

ruckusmattster commented Apr 16, 2023

same
it doesnt add much but heres the error i got too
Traceback (most recent call last):
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\site-packages\so_vits_svc_fork\gui.py", line 678, in main
future.result()
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 451, in result
return self.__get_result()
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 403, in __get_result
raise self._exception
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\site-packages\so_vits_svc_fork\gui.py", line 686, in main
future.result()
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 451, in result
return self.__get_result()
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 403, in __get_result
raise self._exception
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\site-packages\so_vits_svc_fork\gui.py", line 678, in main
future.result()
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 451, in result
return self.__get_result()
File "C:\Users\matth\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 403, in __get_result
raise self._exception
_pickle.UnpicklingError: Weights only load failed. Re-running torch.load with weights_only set to False will likely succeed, but it can result in arbitrary code execution.Do
it only if you get the file from a trusted source. WeightsUnpickler error: Unsupported operand 71

how do you install a specific version?

@ruckusmattster
Copy link

same error even after updating

@34j
Copy link
Collaborator

34j commented Apr 20, 2023

@allcontributors add tybantarnusa bug

@allcontributors
Copy link
Contributor

@34j

I've put up a pull request to add @tybantarnusa! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants