Skip to content

Commit e6100f2

Browse files
committed
added HNM
1 parent 59042cd commit e6100f2

File tree

4,133 files changed

+361
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,133 files changed

+361
-0
lines changed

Hard-negative mining/README.md

Lines changed: 38 additions & 0 deletions

Hard-negative mining/conf/cars.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
/****
3+
* DATASET PATHS
4+
****/
5+
"image_dataset": "datasets/caltech101/101_ObjectCategories/car_side",
6+
"image_annotations": "datasets/caltech101/Annotations/car_side",
7+
"image_distractions": "datasets/sceneclass13",
8+
9+
/****
10+
* FEATURE EXTRACTION
11+
****/
12+
"features_path": "output/cars/car_features.hdf5",
13+
"percent_gt_images": 0.5,
14+
"offset": 5,
15+
"use_flip": true,
16+
"num_distraction_images": 500,
17+
"num_distractions_per_image": 10,
18+
19+
/****
20+
* HISTOGRAM OF ORIENTED GRADIENTS DESCRIPTOR
21+
****/
22+
"orientations": 9,
23+
"pixels_per_cell": [4, 4],
24+
"cells_per_block": [2, 2],
25+
"normalize": true,
26+
27+
/****
28+
* OBJECT DETECTOR
29+
****/
30+
"window_step": 4,
31+
"overlap_thresh": 0.3,
32+
"pyramid_scale": 1.5,
33+
"window_dim": [96, 32],
34+
"min_probability": 0.7,
35+
36+
/****
37+
* LINEAR SVM
38+
****/
39+
"classifier_path0": "output/model.cpickle",
40+
"classifier_path": "output/model_with_hn.cpickle",
41+
"C": 0.01,
42+
43+
/****
44+
* HARD NEGATIVE MINING
45+
****/
46+
"hn_num_distraction_images": 50,
47+
"hn_window_step": 4,
48+
"hn_pyramid_scale": 1.5,
49+
"hn_min_probability": 0.51
50+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)