Muhammad Taqi Raza commited on
Commit
21d8f36
·
1 Parent(s): adeaae8

printing camera positions

Browse files
Files changed (1) hide show
  1. inference/v2v_data/models/utils.py +1 -0
inference/v2v_data/models/utils.py CHANGED
@@ -194,6 +194,7 @@ def generate_traj_specified(c2ws_anchor, theta, phi, d_r, d_x, d_y, frame, devic
194
  print(f"thetas: {thetas}, phis: {phis}, rs: {rs}, xs: {xs}, ys: {ys}")
195
  # manipulate the above ones
196
  c2ws_list = []
 
197
  for th, ph, r, x, y in zip(thetas, phis, rs, xs, ys):
198
  c2w_new = sphere2pose(
199
  c2ws_anchor,
 
194
  print(f"thetas: {thetas}, phis: {phis}, rs: {rs}, xs: {xs}, ys: {ys}")
195
  # manipulate the above ones
196
  c2ws_list = []
197
+ c2ws_list.append(copy.deepcopy(c2ws_anchor))
198
  for th, ph, r, x, y in zip(thetas, phis, rs, xs, ys):
199
  c2w_new = sphere2pose(
200
  c2ws_anchor,