Spaces:
Paused
Paused
Abdulrahman1989
commited on
Commit
·
afeb5b7
1
Parent(s):
b244822
Fix the path
Browse files- Image3DProcessor.py +2 -2
Image3DProcessor.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import os
|
2 |
import torch
|
3 |
import torchvision
|
@@ -24,8 +26,6 @@ class Image3DProcessor:
|
|
24 |
def __init__(self, model_cfg_path, model_repo_id, model_filename):
|
25 |
if not hasattr(Image3DProcessor, "_setup_done"):
|
26 |
os.system('bash setup.sh')
|
27 |
-
sys.path.append('/home/user/app/splatter-image')
|
28 |
-
sys.path.append('/home/user/app/diff-gaussian-rasterization')
|
29 |
Image3DProcessor._setup_done = True # Mark setup as done
|
30 |
|
31 |
# Load model configuration
|
|
|
1 |
+
sys.path.append('/home/user/app/splatter-image')
|
2 |
+
sys.path.append('/home/user/app/diff-gaussian-rasterization')
|
3 |
import os
|
4 |
import torch
|
5 |
import torchvision
|
|
|
26 |
def __init__(self, model_cfg_path, model_repo_id, model_filename):
|
27 |
if not hasattr(Image3DProcessor, "_setup_done"):
|
28 |
os.system('bash setup.sh')
|
|
|
|
|
29 |
Image3DProcessor._setup_done = True # Mark setup as done
|
30 |
|
31 |
# Load model configuration
|