当前位置:网站首页>[paddleclas] common commands
[paddleclas] common commands
2022-07-05 18:02:00 【mtl1994】
【PaddleClas】 Common commands
1. Generate data set
Need modification build_product.yaml
python python/build_gallery.py -c configs/build_product.yaml -o IndexProcess.data_file="D:\Paddle\PaddleClas\out\recognition_demo_data_v1.0\gallery_sg\data_file.txt" -o IndexProcess.index_path="D:\Paddle\PaddleClas\out\recognition_demo_data_v1.0\gallery_sg\index"
3. forecast
python tools/infer.py -c configs/ppyolo/ppyolo_r50vd_dcn_voc.yml --infer_dir=/home/aiuser/mtl/data/sg/test --output_dir=./sg_out_put/ --draw_threshold=0.5 -o weights=./output/ppyolo_r50vd_dcn_voc/model_final
4. export
python tools/export_model.py -c configs/ppyolo/ppyolo_r50vd_dcn_voc.yml \
--output_dir=./inference_model \
-o weights=output/ppyolo_r50vd_dcn_voc/model_final
Optional parameter list
The following list can be accessed through --help
see
FLAG | Support script | purpose | The default value is | remarks |
---|---|---|---|---|
-c | ALL | Specify profile | None | Please refer to Configuration module |
-o | ALL | Set the parameters in the configuration file | None | Use -o Configuration compared to -c The selected profile has a higher priority . for example :-o use_gpu=False max_iter=10000 |
-r/–resume_checkpoint | train | Resume training from a checkpoint | None | -r output/faster_rcnn_r50_1x/10000 |
–eval | train | Whether to test while training | False | |
–output_eval | train/eval | Edit the evaluation and save json route | current path | --output_eval ./json_result |
–fp16 | train | Whether to use mixed accuracy training mode | False | Need to use GPU Training |
–loss_scale | train | Set the scaling of the loss value in the mixed accuracy training mode | 8.0 | It needs to be opened first --fp16 After use |
–json_eval | eval | Whether to pass the existing bbox.json perhaps mask.json To assess the | False | json The file path is --output_eval Set in |
–output_dir | infer | Output post prediction visualization file | ./output | --output_dir output |
–draw_threshold | infer | Visual time score threshold | 0.5 | --draw_threshold 0.7 |
–infer_dir | infer | Picture folder path for prediction | None | |
–infer_img | infer | Picture path for prediction | None | Compare with --infer_dir Higher priority |
–use_vdl | train/infer | Whether to use VisualDL Record data , And then in VisualDL The panel shows | False | VisualDL Need to be Python>=3.5 |
–vdl_log_dir | train/infer | Appoint VisualDL Storage path for recording data | train:vdl_log_dir/scalar infer: vdl_log_dir/image | VisualDL Need to be Python>=3.5 |
边栏推荐
- 论文阅读_医疗NLP模型_ EMBERT
- 开户复杂吗?网上开户安全么?
- EasyCVR平台通过接口编辑通道出现报错“ID不能为空”,是什么原因?
- Disabling and enabling inspections pycharm
- Star ring technology data security management platform defender heavy release
- 请问下为啥有的表写sql能查到数据,但在数据地图里查不到啊,查表结构也搜不到
- Anaconda中配置PyTorch环境——win10系统(小白包会)
- 使用QT遍历Json文档及搜索子对象
- 「运维有小邓」用于云应用程序的单点登录解决方案
- Customize the theme of matrix (I) night mode
猜你喜欢
Anaconda中配置PyTorch环境——win10系统(小白包会)
吴恩达团队2022机器学习课程,来啦
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
星环科技重磅推出数据要素流通平台Transwarp Navier,助力企业实现隐私保护下的数据安全流通与协作
EPM相关
「运维有小邓」用于云应用程序的单点登录解决方案
ISPRS2022/云检测:Cloud detection with boundary nets基于边界网的云检测
leetcode每日一练:旋转数组
论文阅读_中文NLP_LTP
Leetcode daily question: the first unique character in the string
随机推荐
Use QT designer interface class to create two interfaces, and switch from interface 1 to interface 2 by pressing the key
如何修改mysql字段为自增长字段
mybash
小林coding的内存管理章节
ISPRS2022/云检测:Cloud detection with boundary nets基于边界网的云检测
ISPRS2022/雲檢測:Cloud detection with boundary nets基於邊界網的雲檢測
matlab内建函数怎么不同颜色,matlab分段函数不同颜色绘图
JVM third talk -- JVM performance tuning practice and high-frequency interview question record
nacos -分布式事务-Seata** linux安装jdk ,mysql5.7启动nacos配置ideal 调用接口配合 (保姆级细节教程)
Sentinel flow guard
Cmake tutorial Step2 (add Library)
Simple query cost estimation
What are the changes in the 2022 PMP Exam?
Thesis reading_ Chinese NLP_ LTP
Sophon CE社区版上线,免费Get轻量易用、高效智能的数据分析工具
Sophon autocv: help AI industrial production and realize visual intelligent perception
How awesome is the architecture of "12306"?
Zabbix
外盘黄金哪个平台正规安全,怎么辨别?
Sophon KG升级3.1:打破数据间壁垒,解放企业生产力