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

dataloader长度为0 #70

Open
hahapt opened this issue Apr 25, 2024 · 1 comment
Open

dataloader长度为0 #70

hahapt opened this issue Apr 25, 2024 · 1 comment

Comments

@hahapt
Copy link

hahapt commented Apr 25, 2024

我采用./exp/k400/k400_b16_f8x224/run.sh作为基础配置,数据集选用自有数据集。在config.yaml中已经将num_classes更改为2,且train/val/test.csv中按照0/1来区分视频类别。在kinetics_sparse.py的_construct_loader函数中已经验证过可以正确读取label和video_path,且video_path已校验过路径正确存在目标,但dataloader最终读取长度为0。

@Andy1621
Copy link
Collaborator

Andy1621 commented May 6, 2024

可以输出一些_construct_loader的中间变量看看

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