Hugging Face's logo
Alexspy19
/
Runtime error

runtime error

Exit code: 1. Reason: start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. load_net = torch.load(model_path, map_location=lambda storage, loc: storage) Downloading: "https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth" to /usr/local/lib/python3.10/site-packages/gfpgan/weights/GFPGANv1.3.pth 0%| | 0.00/332M [00:00<?, ?B/s] 99%|█████████▉| 330M/332M [00:01<00:00, 346MB/s] 100%|██████████| 332M/332M [00:01<00:00, 346MB/s] /usr/local/lib/python3.10/site-packages/gfpgan/utils.py:92: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. loadnet = torch.load(model_path) Loading weights from local directory Traceback (most recent call last): File "/home/user/app/app.py", line 940, in <module> launch_gradio_app() File "/home/user/app/app.py", line 935, in launch_gradio_app demo_lhm(pose_estimator, facedetector, lhm, cfg) File "/home/user/app/app.py", line 895, in demo_lhm outputs=[processed_image, output_video, output_model], NameError: name 'output_model' is not defined. Did you mean: 'output_video'?

Container logs:

Fetching error logs...