diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 00:35:49 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 00:35:49 +0200 |
| commit | 59878fa802537b2954ab505e01a4eaec25f23ee7 (patch) | |
| tree | 458198564ae0213ae997f58834cfc294b319bc2d /model.py | |
| parent | 4ac07532efa4baa97ac96c29664134c3e45c4817 (diff) | |
lol typo
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() |
