Skip to content

added multiple image size suppport #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

ishaangupta-YB
Copy link
Contributor

HunyuanVideo-Avatar/hymm_sp/data_kits/audio_dataset.py throws error at line 108 when provided different image size. To reproduce this error run below code -

CUDA_VISIBLE_DEVICES=0 python3 hymm_sp/sample_gpu_poor.py
--input 'assets/test.csv'
--ckpt ${checkpoint_path}
--sample-n-frames 129
--seed 128
--image-size 512
--cfg-scale 7.5
--infer-steps 30
--use-deepcache 1
--flow-shift-eval-video 5.0
--save-path ${OUTPUT_BASEPATH}
--use-fp8
--cpu-offload
--infer-min

should throw this error: UnboundLocalError: local variable 'img_size_long' referenced before assignment

@ishaangupta-YB
Copy link
Contributor Author

@zixiangzhou916 @sooxt98

@zixiangzhou916 zixiangzhou916 merged commit 3675ca0 into Tencent-Hunyuan:main Jun 17, 2025
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.

2 participants