JDAI-CV / JDAI-CV/DCL

the meaning of label_swap

Open
#51 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
592
Forks
156
PR merge metrics
No merged PRs in 30d

Description

Hello, can you explain why in the dataset_DCL.py line 86: [if self.use_cls_mul:label_swap = label + self.numcls](url) ?
In my understanding, if the image lable is 8 for CUB dataset, now the lable_swap is 208,then what's the meaning of that?

Contributor guide

No contributing guide indexed for this repository

Research direction

Read dataset_DCL.py around line 86 and trace how use_cls_mul, label, numcls, and label_swap are used elsewhere in the dataset and training code. Confirm the meaning of the offset for CUB labels and document why a label such as 8 becomes 208, with a clear explanation of the expected label ranges.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.