so-vits-svc-fork
so-vits-svc-fork copied to clipboard
Weights only load failed
I have no clue what im doing- But when I press infer it says:
' _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 '

The model you have may contain something harmful other than model weights, but if you dont think so removing weights_only=True may work.
I'm encountering the same issue with a model that I made myself - where would I pass in the argument for weights_only to set to False?
I'm encountering the same issue with a model that I made myself - where would I pass in the argument for weights_only to set to False?
I found it in ...python\Lib\site-packages\so_vits_svc_fork\utils.py line 238:
checkpoint_dict = torch.load(f, map_location="cpu", weights_only=False)