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
Traceback (most recent call last):
File "demo/restoration_single_face_demo.py", line 12, in <module>
from mmedit.apis import init_model, restoration_inference
File "./mmedit/apis/__init__.py", line 5, in <module>
from .train import init_random_seed, set_random_seed, train_model, init_model
File "./mmedit/apis/train.py", line 21, in <module>
from mmedit.models import build_model
File "./mmedit/models/__init__.py", line 7, in <module>
from .components import * # noqa: F401, F403
File "./mmedit/models/components/__init__.py", line 3, in <module>
from .stylegan2 import StyleGAN2Discriminator, StyleGANv2Generator
File "./mmedit/models/components/stylegan2/__init__.py", line 2, in <module>
from .generator_discriminator import (StyleGAN2Discriminator,
File "./mmedit/models/components/stylegan2/generator_discriminator.py", line 12, in <module>
from .modules import (ConstantInput, ConvDownLayer, EqualLinearActModule,
File "./mmedit/models/components/stylegan2/modules.py", line 13, in <module>
from mmcv.ops.fused_bias_leakyrelu import (FusedBiasLeakyReLU,
File "/usr/local/lib/python3.7/dist-packages/mmcv/ops/__init__.py", line 2, in <module>
from .active_rotated_filter import active_rotated_filter
File "/usr/local/lib/python3.7/dist-packages/mmcv/ops/active_rotated_filter.py", line 10, in <module>
['active_rotated_filter_forward', 'active_rotated_filter_backward'])
File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/ext_loader.py", line 13, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /usr/local/lib/python3.7/dist-packages/mmcv/_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNK3c1010TensorImpl36is_contiguous_nondefault_policy_implENS_12MemoryFormatE
how to fix this
The text was updated successfully, but these errors were encountered:
I am getting this error in
google colab
how to fix this
The text was updated successfully, but these errors were encountered: