swapping-autoencoder-pytorch icon indicating copy to clipboard operation
swapping-autoencoder-pytorch copied to clipboard

IndexError: list index out of range

Open Zhtuzki opened this issue 3 years ago • 3 comments

I encountered this problem. Has anyone encountered it

Zhtuzki avatar Sep 27 '21 10:09 Zhtuzki

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]

Zhtuzki avatar Sep 27 '21 10:09 Zhtuzki

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

miramirakim227 avatar Jan 11 '22 05:01 miramirakim227

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

problem hasn't been solved yet

Zhtuzki avatar Jan 15 '22 09:01 Zhtuzki