Spaces:
Runtime error
Runtime error
Commit
β’
c7ae546
1
Parent(s):
8bb5643
Update instantmesh/utils.py
Browse files- instantmesh/utils.py +4 -4
instantmesh/utils.py
CHANGED
@@ -11,14 +11,14 @@ from einops import rearrange, repeat
|
|
11 |
from tqdm import tqdm
|
12 |
from diffusers import DiffusionPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
14 |
-
from src.utils.train_util import instantiate_from_config
|
15 |
-
from src.utils.camera_util import (
|
16 |
FOV_to_intrinsics,
|
17 |
get_zero123plus_input_cameras,
|
18 |
get_circular_camera_poses,
|
19 |
)
|
20 |
-
from src.utils.mesh_util import save_obj, save_glb
|
21 |
-
from src.utils.infer_util import remove_background, resize_foreground, images_to_video
|
22 |
|
23 |
import tempfile
|
24 |
from functools import partial
|
|
|
11 |
from tqdm import tqdm
|
12 |
from diffusers import DiffusionPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
14 |
+
from instantmesh.src.utils.train_util import instantiate_from_config
|
15 |
+
from instantmesh.src.utils.camera_util import (
|
16 |
FOV_to_intrinsics,
|
17 |
get_zero123plus_input_cameras,
|
18 |
get_circular_camera_poses,
|
19 |
)
|
20 |
+
from instantmesh.src.utils.mesh_util import save_obj, save_glb
|
21 |
+
from instantmesh.src.utils.infer_util import remove_background, resize_foreground, images_to_video
|
22 |
|
23 |
import tempfile
|
24 |
from functools import partial
|