Spaces:
Running
on
Zero
Running
on
Zero
bug fix
Browse files
mesh_reconstruction/recon.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
from typing import List
|
6 |
from mesh_reconstruction.remesh import calc_vertex_normals
|
7 |
from mesh_reconstruction.opt import MeshOptimizer
|
8 |
-
from mesh_reconstruction.func import make_star_cameras_orthographic
|
9 |
from mesh_reconstruction.render import NormalsRenderer, Pytorch3DNormalsRenderer
|
10 |
from scripts.utils import to_py3d_mesh, init_target
|
11 |
|
|
|
5 |
from typing import List
|
6 |
from mesh_reconstruction.remesh import calc_vertex_normals
|
7 |
from mesh_reconstruction.opt import MeshOptimizer
|
8 |
+
from mesh_reconstruction.func import make_star_cameras_orthographic, make_star_cameras_orthographic_py3d
|
9 |
from mesh_reconstruction.render import NormalsRenderer, Pytorch3DNormalsRenderer
|
10 |
from scripts.utils import to_py3d_mesh, init_target
|
11 |
|
mesh_reconstruction/refine.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
from typing import List
|
5 |
from mesh_reconstruction.remesh import calc_vertex_normals
|
6 |
from mesh_reconstruction.opt import MeshOptimizer
|
7 |
-
from mesh_reconstruction.func import make_star_cameras_orthographic
|
8 |
from mesh_reconstruction.render import NormalsRenderer, Pytorch3DNormalsRenderer
|
9 |
from scripts.project_mesh import multiview_color_projection, get_cameras_list
|
10 |
from scripts.utils import to_py3d_mesh, from_py3d_mesh, init_target
|
|
|
4 |
from typing import List
|
5 |
from mesh_reconstruction.remesh import calc_vertex_normals
|
6 |
from mesh_reconstruction.opt import MeshOptimizer
|
7 |
+
from mesh_reconstruction.func import make_star_cameras_orthographic, make_star_cameras_orthographic_py3d
|
8 |
from mesh_reconstruction.render import NormalsRenderer, Pytorch3DNormalsRenderer
|
9 |
from scripts.project_mesh import multiview_color_projection, get_cameras_list
|
10 |
from scripts.utils import to_py3d_mesh, from_py3d_mesh, init_target
|