Open-Sora icon indicating copy to clipboard operation
Open-Sora copied to clipboard

v1.2 data loading error: list index out of range

Open ArlenCHEN opened this issue 1 year ago • 2 comments

hi @zhengzangw

I encountered this issue when using my data to run stage3.py image

It seems that the dataset building generates an empty batch.

Can you give some hints on possible reasons? Thanks!

ArlenCHEN avatar Aug 02 '24 03:08 ArlenCHEN

We suppose that mask_ratio is provided. If you want to disable mask_ratio, you can try

mask_ratios = {
    "random": 0.0
}

Or you can direct to the line and delete the mask-related code if you are sure that mask is not used.

zhengzangw avatar Aug 05 '24 05:08 zhengzangw

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] avatar Aug 13 '24 01:08 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Aug 21 '24 01:08 github-actions[bot]