Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #13

Open
Zhtuzki opened this issue Sep 27, 2021 · 3 comments
Open

IndexError: list index out of range #13

Zhtuzki opened this issue Sep 27, 2021 · 3 comments

Comments

@Zhtuzki
Copy link

Zhtuzki commented Sep 27, 2021

I encountered this problem. Has anyone encountered it

@Zhtuzki
Copy link
Author

Zhtuzki commented Sep 27, 2021

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
Copy link

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

@Zhtuzki
Copy link
Author

Zhtuzki commented Jan 15, 2022

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

problem hasn't been solved yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants