You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, great work ! I have problems installing the sr_model. I get several errors while trying to download it and only have a pth file at the end. Here are the errors
Plus, the folders tree is different thant what is written on github. I have no pretrained_ckpt folder or data folder. Even if I create them, the following error occurs and is still a problem to run inference. I give the logs but to sum up the problem is there is no folder lpips :
/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py:181: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use-env is set by default in torchrun.
If your script expects --local-rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
/usr/local/lib/python3.10/dist-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
Traceback (most recent call last):
File "/content/MetaPortrait/sr_model/Experimental_root/test.py", line 6, in
import Experimental_root.archs
File "/content/MetaPortrait/sr_model/Experimental_root/init.py", line 3, in
from .metrics import *
File "/content/MetaPortrait/sr_model/Experimental_root/metrics/init.py", line 1, in
from .lpips import calculate_lpips
File "/content/MetaPortrait/sr_model/Experimental_root/metrics/lpips.py", line 1, in
import lpips
ModuleNotFoundError: No module named 'lpips'
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 5206) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 196, in
main()
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 192, in main
launch(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 177, in launch
run(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 785, in run
elastic_launch(
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
Experimental_root/test.py FAILED
Hi, great work ! I have problems installing the sr_model. I get several errors while trying to download it and only have a pth file at the end. Here are the errors
Plus, the folders tree is different thant what is written on github. I have no pretrained_ckpt folder or data folder. Even if I create them, the following error occurs and is still a problem to run inference. I give the logs but to sum up the problem is there is no folder lpips :
Thanks a lot for your help
Geoffrey
The text was updated successfully, but these errors were encountered: