diff options
Diffstat (limited to 'model.py')
| -rw-r--r-- | model.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -370,7 +370,7 @@ class PrimedGenerator(Runner): tmp_sub_sequence = tmp_sequences[:, i-n : i] # tmp/output for j in range(n): - ratio = j / (bottom_frame_size-1) + ratio = (bottom_frame_size-j-1) / (bottom_frame_size-1) a = sub_sequence_a[:, j].float() * (1-ratio) b = sub_sequence_b[:, j].float() * ratio tmp_sub_sequence[:, j] = torch.clamp(a + b, 1, q_levels-1).long() |
