alexlau commited on
Commit
b5cab38
1 Parent(s): b26d474

reorder pose_spherical params

Browse files
Files changed (1) hide show
  1. demo/src/utils.py +1 -1
demo/src/utils.py CHANGED
@@ -29,7 +29,7 @@ def predict_to_image(pred_out):
29
 
30
 
31
  def _render_rays_from_pose(theta, phi, radius):
32
- camtoworld = np.array(clip_utils.pose_spherical(theta, phi, radius))
33
  rays = _camtoworld_matrix_to_rays(camtoworld)
34
  return rays
35
 
 
29
 
30
 
31
  def _render_rays_from_pose(theta, phi, radius):
32
+ camtoworld = np.array(clip_utils.pose_spherical(radius, theta, phi))
33
  rays = _camtoworld_matrix_to_rays(camtoworld)
34
  return rays
35