Spaces:
Running
Running
diff --git a/model/stylegan/op/fused_act.py b/model/stylegan/op/fused_act.py | |
index c3b735c..67e7972 100644 | |
--- a/model/stylegan/op/fused_act.py | |
+++ b/model/stylegan/op/fused_act.py | |
@@ -7,14 +7,6 @@ from torch.autograd import Function | |
from torch.utils.cpp_extension import load | |
-module_path = os.path.dirname(__file__) | |
-fused = load( | |
- "fused", | |
- sources=[ | |
- os.path.join(module_path, "fused_bias_act.cpp"), | |
- os.path.join(module_path, "fused_bias_act_kernel.cu"), | |
- ], | |
-) | |
class FusedLeakyReLUFunctionBackward(Function): | |
diff --git a/model/stylegan/op/upfirdn2d.py b/model/stylegan/op/upfirdn2d.py | |
index 67e0375..97565d7 100644 | |
--- a/model/stylegan/op/upfirdn2d.py | |
+++ b/model/stylegan/op/upfirdn2d.py | |
@@ -7,14 +7,6 @@ from torch.autograd import Function | |
from torch.utils.cpp_extension import load | |
-module_path = os.path.dirname(__file__) | |
-upfirdn2d_op = load( | |
- "upfirdn2d", | |
- sources=[ | |
- os.path.join(module_path, "upfirdn2d.cpp"), | |
- os.path.join(module_path, "upfirdn2d_kernel.cu"), | |
- ], | |
-) | |
class UpFirDn2dBackward(Function): | |