Skip to content

Fix variable name mismatch in simple_video_sample.py#470

Open
Mr-Neutr0n wants to merge 1 commit intoStability-AI:mainfrom
Mr-Neutr0n:fix/video-sample-variable-name
Open

Fix variable name mismatch in simple_video_sample.py#470
Mr-Neutr0n wants to merge 1 commit intoStability-AI:mainfrom
Mr-Neutr0n:fix/video-sample-variable-name

Conversation

@Mr-Neutr0n
Copy link

Summary

  • Changed input_image to image at line 171
  • input_image was being used before it was defined (defined at line 175)
  • The resize operation should be applied to the image variable

Related Issue

Fixes #469

Test plan

  • Run simple_video_sample.py with an image that is not divisible by 64
  • Verify the resize operation works correctly

Changed input_image to image at line 171 since input_image is not
defined until line 175. The resize operation should be applied to
the image variable which is defined earlier.

Fixes Stability-AI#469
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: wrong variable name in scripts/sampling/simple_video_sample.py

1 participant