未验证 提交 d6c55b5f 编写于 作者: B Bin Lu 提交者: GitHub

Delete shitu_config.json

上级 1caff3fd
{
"Global": {
"infer_imgs": "images/demo.jpg",
"batch_size": 1,
"cpu_num_threads": 4,
"image_shape": [
3,
640,
640
],
"det_model_path": "ppshitu_lite_models_v1.0/mainbody_PPLCNet_x2_5_640_quant_v1.0_lite.nb",
"rec_model_path": "ppshitu_lite_models_v1.0/general_PPLCNet_x2_5_lite_v1.0_infer.nb",
"rec_label_path": "ppshitu_lite_models_v1.0/label.txt",
"label_list": [
"foreground"
],
"rec_nms_thresold": 0.05,
"max_det_results": 5,
"det_fpn_stride": [
8,
16,
32,
64
],
"det_arch": "PicoDet",
"return_k": 5
},
"DetPreProcess": {
"transform_ops": [
{
"interp": 2,
"keep_ratio": false,
"target_size": [
640,
640
],
"type": "DetResize"
},
{
"is_scale": true,
"mean": [
0.485,
0.456,
0.406
],
"std": [
0.229,
0.224,
0.225
],
"type": "DetNormalizeImage"
},
{
"type": "DetPermute"
}
]
},
"DetPostProcess": {
"keep_top_k": 100,
"name": "MultiClassNMS",
"nms_threshold": 0.5,
"nms_top_k": 1000,
"score_threshold": 0.3
},
"RecPreProcess": {
"transform_ops": [
{
"size": 224,
"type": "ResizeImage"
},
{
"scale": 0.00392157,
"mean": [
0.485,
0.456,
0.406
],
"std": [
0.229,
0.224,
0.225
],
"order": "",
"type": "NormalizeImage"
}
]
},
"IndexProcess": {
"index_method": "HNSW32",
"index_dir": "./drink_dataset_v1.0/index",
"image_root": "./drink_dataset_v1.0/gallery",
"data_file": "./drink_dataset_v1.0/gallery/drink_label.txt",
"index_operation": "new",
"delimiter": " ",
"dist_type": "IP",
"embedding_size": 512,
"batch_size": 32,
"return_k": 5,
"score_thres": 0.4
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册