yangxy / GPEN

2.39k stars 449 forks source link

Testing code error #45

Open jisukim9797 opened 3 years ago

jisukim9797 commented 3 years ago

I used python ver : 3.6 / cuda ver : 10.0 / pytorch ver : 1.8.0, as README metioned,

While debugging the test code as followed,

from face_model.face_gan import FaceGAN at face_enhancement.py

from model import FullGenerator at face_gan.py

from op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d at model.py

fused = load( 'fused', sources=[ os.path.join(module_path, 'fused_bias_act.cpp'), os.path.join(module_path, 'fused_bias_act_kernel.cu'), ], ) at fused_act.py

then I face following error

Screenshot from 2021-09-06 19-21-24

Please help me!

yangxy commented 2 years ago

I never encounter those issues. Maybe you can try the solutions suggested in the yellow context.