Spaces:
Runtime error
Runtime error
Update Time_TravelRephotography/models/encoder4editing/models/stylegan2/op/upfirdn2d.py
Browse files
Time_TravelRephotography/models/encoder4editing/models/stylegan2/op/upfirdn2d.py
CHANGED
@@ -5,13 +5,13 @@ from torch.autograd import Function
|
|
5 |
from torch.utils.cpp_extension import load
|
6 |
|
7 |
module_path = os.path.dirname(__file__)
|
8 |
-
upfirdn2d_op = load(
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
)
|
15 |
|
16 |
|
17 |
class UpFirDn2dBackward(Function):
|
|
|
5 |
from torch.utils.cpp_extension import load
|
6 |
|
7 |
module_path = os.path.dirname(__file__)
|
8 |
+
# upfirdn2d_op = load(
|
9 |
+
# 'upfirdn2d',
|
10 |
+
# sources=[
|
11 |
+
# os.path.join(module_path, 'upfirdn2d.cpp'),
|
12 |
+
# os.path.join(module_path, 'upfirdn2d_kernel.cu'),
|
13 |
+
# ],
|
14 |
+
# )
|
15 |
|
16 |
|
17 |
class UpFirDn2dBackward(Function):
|