1102
parent
a051f44b9d
commit
50c2c3a3a4
@ -1,30 +1,30 @@
|
||||
# load model file
|
||||
model: /home/xbank/xbank_poc_test_use/model_file/yolov8.onnx
|
||||
model_cache: /home/xbank/xbank_poc_test_use/tensort_cache/yolov8.trt
|
||||
model: ./model_file/yolov8_person.onnx
|
||||
model_cache: ./tensort_cache/yolov8_person.trt
|
||||
|
||||
# label and bbox message set
|
||||
model_parameter:
|
||||
device : gpu
|
||||
label_names: ["person","sleep"] # model labels
|
||||
device : cpu
|
||||
label_names: ["person","bicycle","car",motorcycle,airplane,bus,train,truck,boat,traffic light,fire hydrant,stop sign,parking meter,bench,bird,cat, dog,horse,sheep, cow,elephant, bear,zebra,giraffe, backpack,umbrella,handbag,tie,suitcase,frisbee,skis,snowboard,sports ball,kite,baseball bat,baseball glove,skateboard,surfboard,tennis racket, bottle, wine glass,cup,fork,knife,spoon, bowl,banana,apple,sandwich,orange,broccoli,carrot,hot dog, pizza,donut,cake,chair,couch,potted plant,bed,dining table,toilet,tv,laptop,mouse,remote,keyboard,cell phone,microwave, oven,toaster,sink,refrigerator,book,clock,vase,scissors,teddy bear,hair drier,toothbrush] # model labels
|
||||
# label_names: ["person"]
|
||||
compara_label_names: ["person"] #
|
||||
compara_relevancy: False # 'object_num'
|
||||
relevancy_para : False
|
||||
object_num_min : 5
|
||||
confidence : 0.5
|
||||
object_num_min : False # 视频中最低人数
|
||||
confidence : 0.2
|
||||
|
||||
|
||||
# save_path : /home/xbank/xbank_poc_test_use/save_path/sleep
|
||||
# save_path_original : /home/yaxin/xbank/xbank_poc_test/save_path_original/sleep
|
||||
# test_path : /home/yaxin/xbank/xbank_poc_test/test_save_path/sleep
|
||||
save_path_original : False
|
||||
test_path : False
|
||||
save_annotations : False
|
||||
save_annotations : False
|
||||
save_path : False
|
||||
|
||||
# save videos
|
||||
save_videos : /home/xbank/xbank_poc_test_use/video_save_path/person
|
||||
save_videos : False
|
||||
|
||||
# detect time set
|
||||
detect_time : 60
|
||||
detect_time_small : 5
|
||||
detect_ratio : 0.9
|
||||
detect_time : 30
|
||||
detect_time_small : 10
|
||||
detect_ratio : 0.5
|
||||
|
||||
|
||||
|
@ -1,31 +1,29 @@
|
||||
# load model file
|
||||
model: /home/xbank/xbank_poc_test_use/model_file/yolov8.onnx
|
||||
model_cache: /home/xbank/xbank_poc_test_use/tensort_cache/yolov8.trt
|
||||
model: ./model_file/yolov5_640_sleep.onnx
|
||||
model_cache: ./tensort_cache/yolov5_640_sleep.trt
|
||||
|
||||
# label and bbox message set
|
||||
model_parameter:
|
||||
device : gpu
|
||||
device : cpu
|
||||
label_names: ["person","sleep"] # model labels
|
||||
compara_label_names: ["sleep"] #
|
||||
compara_label_names: ["sleep","person"] #
|
||||
compara_relevancy: False # 'in_bbox'
|
||||
relevancy_para : False
|
||||
object_num_min : False
|
||||
confidence : 0.5
|
||||
confidence : 0.2
|
||||
|
||||
|
||||
# save_path : /home/xbank/xbank_poc_test_use/save_path/sleep
|
||||
# save_path_original : /home/yaxin/xbank/xbank_poc_test/save_path_original/sleep
|
||||
# test_path : /home/yaxin/xbank/xbank_poc_test/test_save_path/sleep
|
||||
save_path_original : False
|
||||
test_path : False
|
||||
save_annotations : False
|
||||
save_path : False
|
||||
|
||||
# save videos
|
||||
save_videos : /home/xbank/xbank_poc_test_use/video_save_path/sleep
|
||||
save_videos : ./video_save_path/sleep
|
||||
|
||||
# detect time set
|
||||
detect_time : 60
|
||||
detect_time_small : 5
|
||||
detect_time : 30
|
||||
detect_time_small : 10
|
||||
detect_ratio : 0.5
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue