Skip to content

Instantly share code, notes, and snippets.

View lysukhin's full-sized avatar

Daniil Lysukhin lysukhin

View GitHub Profile
post_processing {
batch_non_max_suppression {
score_threshold: 1e-8
iou_threshold: 0.6
max_detections_per_class: 100
max_total_detections: 100
}
}
anchor_generator {
ssd_anchor_generator {
num_layers: 6
min_scale: 0.2
max_scale: 0.95
aspect_ratios: 1.0
aspect_ratios: 2.0
aspect_ratios: 0.5
aspect_ratios: 3.0
aspect_ratios: 0.3333
loss {
classification_loss {
weighted_sigmoid {
anchorwise_output: true
}
}
localization_loss {
weighted_smooth_l1 {
anchorwise_output: true
}
hard_example_miner {
num_hard_examples: 3000
iou_threshold: 0.99
loss_type: CLASSIFICATION
max_negatives_per_positive: 3
min_negatives_per_image: 0
}
@lysukhin
lysukhin / yandex-du-task.ipynb
Last active April 26, 2017 12:01
Задание из анкеты для Я.Стажировки
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#ifndef DETECTION_H_INCLUDED
#define DETECTION_H_INCLUDED
using namespace cv;
using namespace cv::ml;
using namespace std;
class Detection{
private: