{'fraction_non_alphanumeric': 0.025817555938037865, 'fraction_numerical': 0.0008605851979345956, 'mean_word_length': 5.286486486486487, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Few-Shot Object Detection via Sample Processing

Few-shot object detection (FSOD) eliminates the dependence on tremendous instances with manual annotations in conventional object detection. We deem that the scarcity of positive samples is the main reason that restricts the performance of FSOD detectors. In this paper, a novel FSOD model via sample processing, namely, FSSP, is proposed to detect objects accurately with only a few annotated samples, which is based on the structural design of the Siamese network and uses YOLOv3-SPP as the baseline. Central to FSSP are our designed self-attention (SAM) and positive-sample augmentation (PSA) modules. The former attempts to better extract the representative features of hard samples, and the latter expands the number and enriches the scale distribution of positive samples, inhibiting the growth of negative samples. For the fine-tuning phase, we modify the classification loss function to increase the punishment for hard samples. Experiments conducted on the PASCAL VOC and MS COCO datasets confirm that the proposed FSSP achieves competitive detection performance compared with state-of-the-art detectors.