shenyunhang / APE

[CVPR 2024] Aligning and Prompting Everything All at Once for Universal Visual Perception
https://arxiv.org/abs/2312.02153
Apache License 2.0
459 stars 28 forks source link

训练时dataloader.train的配置问题 #41

Open wliu20 opened 2 months ago

wliu20 commented 2 months ago

您好,请问dataloader.train()中的use_cp,use_rfs 分别是什么意思,对应的作用是什么?

shenyunhang commented 2 months ago

use_cp是copypaste增强,实现代码在https://github.com/shenyunhang/APE/blob/main/ape/data/mapper_utils.py#L232,论文《Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentation》。

use_rfs是repeat factor sampling,detectron2里面自带的数据采样模块,论文《LVIS: A Dataset for Large Vocabulary Instance Segmentation》。

wliu20 commented 2 months ago

感谢解答