renamed mesh_processor

This commit is contained in:
DenisKochetov
2025-09-01 13:04:58 +02:00
parent 9ab02eb440
commit ae3156305d
14 changed files with 19 additions and 1606 deletions
@@ -9,7 +9,7 @@ import nvdiffrast.torch as dr
from kiui.op import inverse_sigmoid
from mesh_processer.mesh import safe_normalize
from mesh_processor.mesh import safe_normalize
def scale_img_nhwc(x, size, mag='bilinear', min='bilinear'):
assert (x.shape[1] >= size[0] and x.shape[2] >= size[1]) or (x.shape[1] < size[0] and x.shape[2] < size[1]), "Trying to magnify image in one dimension and minify in the other"
@@ -13,7 +13,7 @@ from .util import SimpleMesh
from .loss import sdf_reg_loss
from shared_utils.camera_utils import OrbitCamera
from mesh_processer.mesh import Mesh
from mesh_processor.mesh import Mesh
def lr_schedule(iter):
@@ -15,8 +15,8 @@ from kornia.geometry.conversions import (
from kiui.op import inverse_sigmoid
from shared_utils.sh_utils import eval_sh, SH2RGB, RGB2SH
from mesh_processer.mesh import Mesh, PointCloud
from mesh_processer.mesh_utils import construct_list_of_gs_attributes, write_gs_ply, read_gs_ply, K_nearest_neighbors_func
from mesh_processor.mesh import Mesh, PointCloud
from mesh_processor.mesh_utils import construct_list_of_gs_attributes, write_gs_ply, read_gs_ply, K_nearest_neighbors_func
def get_expon_lr_func(
lr_init, lr_final, lr_delay_steps=0, lr_delay_mult=1.0, max_steps=1000000