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

The ocpose issues and OChuman dataset #12

Closed
huanghao11 opened this issue May 12, 2022 · 2 comments
Closed

The ocpose issues and OChuman dataset #12

huanghao11 opened this issue May 12, 2022 · 2 comments

Comments

@huanghao11
Copy link

Hello, your work is very good, but when I tested OChuman's dataset, I found that the path in the shell file is ocpose, and what I want to teach is:
I changed the ocpose to ochuman according to my ideas, in the training, this problem arose, The train_loader is missing, can you help me to solve my issues. thanks!

=> classes: ['background', 'person']
=> num_images: 2231
=> load 3819 samples
=> updated lr schedule is [170, 200]
training on lambda
Traceback (most recent call last):
File "tools/lambda/train_lambda_real.py", line 280, in
main()
File "tools/lambda/train_lambda_real.py", line 241, in main
train_lambda(cfg, train_loader, model, criterion_lambda, criterion, optimizer, epoch,
File "/Workspace/MIPNet-main/MIPNet-main/tools/lambda/../../lib/core/train.py", line 355, in train_lambda
for i, (input, target_a, target_weight_a, meta_a, target_b, target_weight_b, meta_b) in enumerate(train_loader):
ValueError: not enough values to unpack (expected 7, got 4)

@huanghao11
Copy link
Author

I have solved this issues!

@123qwaz
Copy link

123qwaz commented Jan 21, 2024

你好,想问一下这个问题是怎么解决的呢?我也出现了这个问题

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