jihyeonj commited on
Commit
1fdc9d8
·
verified ·
1 Parent(s): e920a72

debugging index

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -255,7 +255,7 @@ def load_mesh_max(scene_path):
255
  alllengths = [dic['len'] for dic in dicts]
256
  sort_idcs = np.argsort(alllengths)
257
  sorted_planes = np.array(scenes)[np.flip(sort_idcs)]
258
- return sorted_planes[:5][0]
259
 
260
  def load_mesh_min(scene_path):
261
  dict_path = "planes_processed/" + scene_path.split('/')[-1].split('.')[0][:-7] + "_dicts.pickle"
@@ -266,7 +266,7 @@ def load_mesh_min(scene_path):
266
  alllengths = [dic['len'] for dic in dicts]
267
  sort_idcs = np.argsort(alllengths)
268
  sorted_planes = np.array(scenes)[sort_idcs]
269
- return sorted_planes[:5][0]
270
 
271
 
272
  def reset_outputs():
 
255
  alllengths = [dic['len'] for dic in dicts]
256
  sort_idcs = np.argsort(alllengths)
257
  sorted_planes = np.array(scenes)[np.flip(sort_idcs)]
258
+ return sorted_planes[:5]
259
 
260
  def load_mesh_min(scene_path):
261
  dict_path = "planes_processed/" + scene_path.split('/')[-1].split('.')[0][:-7] + "_dicts.pickle"
 
266
  alllengths = [dic['len'] for dic in dicts]
267
  sort_idcs = np.argsort(alllengths)
268
  sorted_planes = np.array(scenes)[sort_idcs]
269
+ return sorted_planes[:5]
270
 
271
 
272
  def reset_outputs():