Closed xsmilingtoast closed 1 year ago
Error below: Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\threading.py", line 926, in _bootstrap_inner self.run() File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\threading.py", line 870, in run self._target(*self._args, self._kwargs) File "run_app_gui.py", line 189, in merge_models_thread merge_models(model_a=model_a, model_b=model_b, device=device, output=output, usefp16=usefp16, alpha=alpha, iterations=iterations) File "run_app_gui.py", line 120, in merge_models model_a = torch.load(model_a, map_location=device) File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\site-packages\torch\serialization.py", line 713, in load return _legacy_load(opened_file, map_location, pickle_module, pickle_load_args) File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\site-packages\torch\serialization.py", line 920, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '\x11'.
I have no idea at all ,how am i suppose to get it to work?Please help!
Error below: Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\threading.py", line 926, in _bootstrap_inner self.run() File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\threading.py", line 870, in run self._target(*self._args, self._kwargs) File "run_app_gui.py", line 189, in merge_models_thread merge_models(model_a=model_a, model_b=model_b, device=device, output=output, usefp16=usefp16, alpha=alpha, iterations=iterations) File "run_app_gui.py", line 120, in merge_models model_a = torch.load(model_a, map_location=device) File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\site-packages\torch\serialization.py", line 713, in load return _legacy_load(opened_file, map_location, pickle_module, pickle_load_args) File "C:\Users\timlo\miniconda3\envs\git_re_sd_wd_gui\lib\site-packages\torch\serialization.py", line 920, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '\x11'.
I have no idea at all ,how am i suppose to get it to work?Please help!