# predict_object **Repository Path**: MuTianYu/predict_object ## Basic Information - **Project Name**: predict_object - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-04-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Readme 使用时运行predict.py文件 ## 需要参数 `config_path`:config.xml文件所在路径,程序会解析xml文件获得其他参数 ## config.xml文件 * `model_path`:模型所在具体路径(因为有多个模型所以有多个model_path,可增减) * `label_map_path`:与model相对应的label_map所在具体路径 * `confidence`:为每个model添加自己的置信度 * `image_dir`:测试图片所在目录 * `class_num`:用来记录在训练集里每个类别所出现的次数,是json格式的文件 * `excel_save_path`:excel表格保存路径 * `result_save_dir`:生成的结果保存路径 * `draw_type`:在画出结果时,有四种类型可以选择(想获得哪些信息,可以以“true_lose_error_gt”格式给出) * `true`:画出正确的框 * `lose`:画出模型丢失的目标的框 * `error`:画出模型检测错误的框 * `gt`:画出金标准没有但是检测出来的框