app.py
CHANGED
@@ -21,15 +21,6 @@ import os.path as path
|
|
21 |
import sys
|
22 |
import tempfile
|
23 |
|
24 |
-
# Step 1: Navigate to the desired directory
|
25 |
-
os.chdir('croco/models/curope/')
|
26 |
-
|
27 |
-
# Step 2: Execute the setup command
|
28 |
-
os.system('python setup.py build_ext --inplace')
|
29 |
-
|
30 |
-
# Step 3: Return to the original directory
|
31 |
-
os.chdir('../../../')
|
32 |
-
|
33 |
from dust3r.inference import inference
|
34 |
from dust3r.model import AsymmetricCroCo3DStereo
|
35 |
from dust3r.image_pairs import make_pairs
|
|
|
21 |
import sys
|
22 |
import tempfile
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
from dust3r.inference import inference
|
25 |
from dust3r.model import AsymmetricCroCo3DStereo
|
26 |
from dust3r.image_pairs import make_pairs
|