Skip to content

Commit

Permalink
Pypi release of pynanoinstantmeshes
Browse files Browse the repository at this point in the history
  • Loading branch information
vork committed Jan 3, 2025
1 parent 2b35658 commit 9a65f9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ numpy==1.26.4
huggingface-hub==0.23.4
rembg[gpu]==2.0.57; sys_platform != 'darwin'
rembg==2.0.57; sys_platform == 'darwin'
git+https://github.com/vork/PyNanoInstantMeshes.git@v0.0.3
pynanoinstantmeshes==0.0.3
gpytoolbox==0.2.0
./texture_baker/
./uv_unwrapper/
4 changes: 2 additions & 2 deletions sf3d/models/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import gpytoolbox
import numpy as np
import pynim
import pynanoinstantmeshes
import torch
import torch.nn.functional as F
import trimesh
Expand Down Expand Up @@ -161,7 +161,7 @@ def quad_remesh(
v_pos = self.v_pos.detach().cpu().numpy().astype(np.float32)
t_pos_idx = self.t_pos_idx.detach().cpu().numpy().astype(np.uint32)

new_vert, new_faces = pynim.remesh(
new_vert, new_faces = pynanoinstantmeshes.remesh(
v_pos,
t_pos_idx,
quad_vertex_count // 4,
Expand Down

0 comments on commit 9a65f9f

Please sign in to comment.