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

Error when running Main #60

Open
lorand2000 opened this issue Feb 21, 2023 · 0 comments
Open

Error when running Main #60

lorand2000 opened this issue Feb 21, 2023 · 0 comments

Comments

@lorand2000
Copy link

I am configuring the program and when I try to run main.py I get the following error:

runfile('C:/Users/gelat/Barbershop/main.py', wdir='C:/Users/gelat/Barbershop')
Reloaded modules: utils, utils.drive, utils.shape_predictor
Traceback (most recent call last):

File "C:\Users\gelat\anaconda3\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
exec(code, globals, locals)

File "c:\users\gelat\barbershop\main.py", line 13, in
from models.Embedding import Embedding

File "C:\Users\gelat\Barbershop\models\Embedding.py", line 3, in
from models.Net import Net

File "C:\Users\gelat\Barbershop\models\Net.py", line 3, in
from models.stylegan2.model import Generator

File "C:\Users\gelat\Barbershop\models\stylegan2\model.py", line 11, in
from models.stylegan2.op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d

File "C:\Users\gelat\Barbershop\models\stylegan2\op_init_.py", line 1, in
from .fused_act import FusedLeakyReLU, fused_leaky_relu

File "C:\Users\gelat\Barbershop\models\stylegan2\op\fused_act.py", line 10, in
fused = load(

File "C:\Users\gelat\anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1284, in load
return _jit_compile(

File "C:\Users\gelat\anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1534, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)

File "C:\Users\gelat\anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1936, in _import_module_from_library
module = importlib.util.module_from_spec(spec)

ImportError: DLL load failed while importing fused: The specified module could not be found

My knowledge of programming is very basic so I don't have any idea how to solve that. I already managed to install DLib and Pytorch with Cuda support. Is there any other thing I should install?

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

1 participant