yanranxiaoxi commited on
Commit
3b20774
·
verified ·
1 Parent(s): 74bc051

chore: emmm

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def generate_mesh(image, source_size=512, render_size=384, mesh_size=512, export
184
 
185
  with torch.no_grad():
186
  planes = model_wrapper.forward(image, source_camera)
187
- planes_pil_image = ToPILImage()(planes[0][0])
188
 
189
  if export_mesh:
190
  grid_out = model_wrapper.model.synthesizer.forward_grid(planes=planes, grid_size=mesh_size)
 
184
 
185
  with torch.no_grad():
186
  planes = model_wrapper.forward(image, source_camera)
187
+ planes_pil_image = ToPILImage()(planes[0])
188
 
189
  if export_mesh:
190
  grid_out = model_wrapper.model.synthesizer.forward_grid(planes=planes, grid_size=mesh_size)