taesungp / swapping-autoencoder-pytorch

Official Implementation of Swapping Autoencoder for Deep Image Manipulation (NeurIPS 2020)
Other
516 stars 84 forks source link

IndexError: list index out of range #13

Open Zhtuzki opened 3 years ago

Zhtuzki commented 3 years ago

I encountered this problem. Has anyone encountered it

Zhtuzki commented 3 years ago

Traceback (most recent call last): File "C:/swapping-autoencoder-pytorch-main/train.py", line 11, in opt = TrainOptions().parse() File "C:\swapping-autoencoder-pytorch-main\options__init.py", line 137, in parse opt = self.gather_options(command) File "C:\swapping-autoencoder-pytorch-main\options__init.py", line 67, in gather_options model_option_setter = models.get_option_setter(model_name) File "C:\swapping-autoencoder-pytorch-main\models__init__.py", line 53, in get_option_setter model_class = find_model_using_name(model_name) File "C:\swapping-autoencoder-pytorch-main\models__init__.py", line 36, in find_model_using_name modellib = importlib.import_module(model_filename) File "E:\Anaconda\ANACONDA\envs\pytorch\lib\importlib\init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "C:\swapping-autoencoder-pytorch-main\models\swapping_autoencoder_model.py", line 5, in import models.networks.loss as loss File "C:\swapping-autoencoder-pytorch-main\models\networks\loss.py", line 8, in from .stylegan2_layers import Downsample File "C:\swapping-autoencoder-pytorch-main\models\networks\stylegan2_layers.py", line 16, in from models.networks.stylegan2_op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d File "C:\swapping-autoencoder-pytorch-main\models\networks\stylegan2_op\init__.py", line 1, in from .fused_act import FusedLeakyReLU, fused_leaky_relu File "C:\swapping-autoencoder-pytorch-main\models\networks\stylegan2_op\fused_act.py", line 10, in if is_custom_kernel_supported(): File "C:\swapping-autoencoder-pytorch-main\util\util.py", line 435, in is_custom_kernel_supported minor = version_str[1]

miramirakim227 commented 2 years ago

@Zhtuzki Hi, I wonder if you solved this problem or still strugglin yet 😃

Zhtuzki commented 2 years ago

@Zhtuzki Hi, I wonder if you solved this problem or still strugglin yet 😃

problem hasn't been solved yet