Skip to content
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

IndexError: list index out of range #30

Open
DeepMakerAi opened this issue Sep 29, 2023 · 1 comment
Open

IndexError: list index out of range #30

DeepMakerAi opened this issue Sep 29, 2023 · 1 comment

Comments

@DeepMakerAi
Copy link

DeepMakerAi commented Sep 29, 2023

started training, this error will be reported. Train step sometimes reports errors of over 2000, and sometimes errors of several hundred。
image

@Sxjdwang
Copy link
Owner

If there are samples in your dataset that have frames fewer than 13, this situation may occur. You can replace the 284-th line in train.py by "pid_start = random.sample(list(range(1, volume-4)), max(int(volume * self.prob), 1))"

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

No branches or pull requests

2 participants