Spaces:
Build error
Build error
reorder pose_spherical params
Browse files- 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
|
| 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 |
|