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

I want to add my data #399

Open
joohyung0809 opened this issue Jan 21, 2024 · 1 comment
Open

I want to add my data #399

joohyung0809 opened this issue Jan 21, 2024 · 1 comment

Comments

@joohyung0809
Copy link

I add my data in folder(my data is 1502).
below is my add list.

Market/pytorch/val/1502/1502_c2c3_000809_01.png

Market/pytorch/train/1502/
1502_c2c3_000809_02.png
1502_c2c3_000809_03.png
1502_c2c3_000809_04.png
1502_c2c3_000809_05.png
1502_c2c3_000809_06.png
1502_c2c3_000809_07.png

cf) train_all = val+train

Market/pytorch/query/1502_c8t2_000809_02.png

Market/pytorch/gallery/1502/
1502_c8t2_000809_02.png
1502_c8t2_000809_03.png
1502_c8t2_000809_04.png
1502_c8t2_000809_05.png
1502_c8t2_000809_06.png
1502_c8t2_000809_07.png
1502_c8t2_000809_08.png
1502_c8t2_000809_09.png

Then I changed number of class and ran 'python train.py --gpu_ids 0 --name ft_ResNet50 --train_all --batchsize 32'
Next, I ran 'python test.py --gpu_ids 0 --name ft_ResNet50 --batchsize 32 --which_epoch 60' and 'python evaluate_gpu.py'
Finally I ran python demo.py --query_index 3368. Result is below.
image

I want Top 10 images are Market/pytorch/gallery/1502/* files...
I don' know what's wrong. Please help me

@layumi
Copy link
Owner

layumi commented Jan 24, 2024

Hi @joohyung0809
Your file arrangement seems to be correct.

It is weird, since you have already trained the 1502nd person.
The model should recognize him/her.

  1. How about other original queries?

  2. The domain gap of your image? A significantly-different view? Do you crop the person?

  3. Is the training curve good?

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