Anonymous commited on
Commit
dde03d8
1 Parent(s): 47058ed
Files changed (1) hide show
  1. lvdm/modules/attention_freetraj.py +1 -1
lvdm/modules/attention_freetraj.py CHANGED
@@ -123,7 +123,7 @@ class CrossAttention(nn.Module):
123
  hw = q.shape[0]
124
  w_base = 64
125
  h_base = 40
126
- w_len = int((hw / w_base / h_base) ** 0.5 * h_base)
127
  h_len = int(hw / w_len)
128
  BOX_SIZE_H = input_traj[0][2] - input_traj[0][1]
129
  BOX_SIZE_W = input_traj[0][4] - input_traj[0][3]
 
123
  hw = q.shape[0]
124
  w_base = 64
125
  h_base = 40
126
+ w_len = int((hw / w_base / h_base) ** 0.5 * w_base)
127
  h_len = int(hw / w_len)
128
  BOX_SIZE_H = input_traj[0][2] - input_traj[0][1]
129
  BOX_SIZE_W = input_traj[0][4] - input_traj[0][3]