IntelligentAnnotate/readme.md

28 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 简介
本项目主要用于实现智能标注支持本地标注的测试和web标注的服务提供。
## model
model 目录用于存放训练好的模型,以及模型对应的配置文件。
## dataset
dataset 目录用于存放测试数据集。
## output
output 目录用于存放含有标注结果的图片。
## logs
logs 目录用于存放标注过程中产生的日志文件。每个日志文件最大10MB最多保留5个文件。
## 文件说明
sishu_label_local.py 为本地标注的测试代码目的是将dataset里的丝束的图片进行标注并将标注结果包括标签和矩形框保存到output目录下。
sishu_label_web.py 为web标注的服务提供代码目的是根据传入的网络图像路径按照传入的标签进行标注返回标注结果。
## 启动sishu_label_local的方法
python sishu_label_local.py
## 启动sishu_label_web的方法
单进程启动:
uvicorn sishu_label_web:app --reload --host '0.0.0.0' --port 8081
多进程启动:
uvicorn sishu_label_web:app --host 0.0.0.0 --port 8081 --workers 5