daidedou commited on
Commit
cc5f630
·
1 Parent(s): ef92111

Adapt to ZeroGPU?

Browse files
Files changed (1) hide show
  1. utils/geometry.py +0 -3
utils/geometry.py CHANGED
@@ -524,8 +524,6 @@ def get_operators(verts, faces, k_eig=128, cache_path=None, normals=None, overwr
524
  evecs = torch.from_numpy(evecs).to(device=device, dtype=dtype)
525
  gradX = sparse_np_to_torch(gradX).to(device=device, dtype=dtype)
526
  gradY = sparse_np_to_torch(gradY).to(device=device, dtype=dtype)
527
- hks = torch.from_numpy(hks).to(device=device, dtype=dtype)
528
- wks = torch.from_numpy(wks).to(device=device, dtype=dtype)
529
 
530
  found = True
531
 
@@ -606,7 +604,6 @@ def load_operators(filepath):
606
  evecs=npzfile['evecs'],
607
  gradX=read_sp_mat('gradX'),
608
  gradY=read_sp_mat('gradY'),
609
- hks=npzfile['hks'],
610
  wks=npzfile['wks'],
611
  )
612
 
 
524
  evecs = torch.from_numpy(evecs).to(device=device, dtype=dtype)
525
  gradX = sparse_np_to_torch(gradX).to(device=device, dtype=dtype)
526
  gradY = sparse_np_to_torch(gradY).to(device=device, dtype=dtype)
 
 
527
 
528
  found = True
529
 
 
604
  evecs=npzfile['evecs'],
605
  gradX=read_sp_mat('gradX'),
606
  gradY=read_sp_mat('gradY'),
 
607
  wks=npzfile['wks'],
608
  )
609