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

Data use error for RPN of FasterRCNN in phase 1 #34

Open
HuShaohanAI opened this issue Feb 2, 2020 · 0 comments
Open

Data use error for RPN of FasterRCNN in phase 1 #34

HuShaohanAI opened this issue Feb 2, 2020 · 0 comments

Comments

@HuShaohanAI
Copy link

HuShaohanAI commented Feb 2, 2020

In pascal_voc.py
class pascal_voc(imdb): def __init__(self, image_set, year, devkit_path=None): imdb.__init__(self, 'voc_' + year + '_' + image_set) self._year = year self._image_set = image_set self._devkit_path = self._get_default_path() if devkit_path is None \ else devkit_path self._data_path = os.path.join(self._devkit_path, 'VOC' + self._year) #first split if cfg.TRAIN.META_TYPE == 1: self._classes = ['__background__'] + cfg.TRAIN.ALLCLASSES_FIRST #second split if cfg.TRAIN.META_TYPE == 2: self._classes = ['__background__'] + cfg.TRAIN.ALLCLASSES_SECOND #third split if cfg.TRAIN.META_TYPE == 3: self._classes = ['__background__'] + cfg.TRAIN.ALLCLASSES_THIRD

you always use ALLCLASSES, and dosenot filter class in phase 1, so you use base+novel class for training RPN of FasterRCNN?

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

1 participant