remove useless range i guess

This commit is contained in:
Stephan Auerhahn 2022-07-25 13:52:08 +00:00
parent abfc7af8f9
commit 80032f0800
25 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -183,7 +183,7 @@ def my_filling_sequence(
guider_tokens = guider_tokens[..., :context_length-guider_index_delta]
guider_input_tokens = guider_tokens.clone()
for fid in trange(current_frame_num):
for fid in range(current_frame_num):
input_tokens[:, text_len+400*fid] = tokenizer['<start_of_image>']
if guider_seq is not None:
guider_input_tokens[:, guider_text_len+400*fid] = tokenizer['<start_of_image>']

0
scripts/inference_cogvideo_pipeline.sh Normal file → Executable file
View File