perler commited on
Commit
b86b3ce
1 Parent(s): 162cd37

print debugging...

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -27,8 +27,12 @@ def run_on_gpu(input_point_cloud: gr.utils.NamedString,
27
 
28
  in_file = '{}'.format(input_point_cloud.name)
29
  out_dir = os.path.dirname(in_file)
30
- out_file_basename = os.path.basename(in_file) + '.obj'
 
31
  out_file = os.path.join(out_dir, os.path.basename(in_file), out_file_basename)
 
 
 
32
  os.makedirs(out_dir, exist_ok=True)
33
 
34
  model_path = 'models/ppsurf_50nn/version_0/checkpoints/last.ckpt'
 
27
 
28
  in_file = '{}'.format(input_point_cloud.name)
29
  out_dir = os.path.dirname(in_file)
30
+ out_dir = os.path.dirname(in_file)
31
+ out_file_basename = os.path.basename(in_file) + '.ply'
32
  out_file = os.path.join(out_dir, os.path.basename(in_file), out_file_basename)
33
+ print('in_file:', in_file)
34
+ print('out_dir:', out_dir)
35
+ print('out_file:', out_file)
36
  os.makedirs(out_dir, exist_ok=True)
37
 
38
  model_path = 'models/ppsurf_50nn/version_0/checkpoints/last.ckpt'