# Extra
## ground-truth:
- ### convert `xml` to our format:
1) Insert ground-truth xml files into **ground-truth/**
2) Run the python script: `python convert_gt_xml.py`
- ### convert YOLO to our format:
1) Add class list to the file `class_list.txt`
2) Insert ground-truth files into **ground-truth/**
3) Insert images into **images/**
4) Run the python script: `python convert_gt_yolo.py`
- ### convert keras-yolo3 to our format:
1) Add or update the class list to the file `class_list.txt`
2) Use the parameter `--gt` to set the **ground-truth** source.
3) Run the python script: `python3 convert_keras-yolo3.py --gt <gt_file_path>`
1) Supports only python 3.
2) This code can handle recursive annotation structure. Just use the `-r` parameter.
3) The converted annotation is placed by default in a new from_kerasyolo3 folder. You can change that with the parameter `-o`.
4) The format is defined according with github.com/qqwweee/keras-yolo3
## detection-results:
- ### convert darkflow `json` to our format:
1) Insert result json files into **detection-results/**
2) Run the python script: `python convert_dr_darkflow_json.py`
- ### convert YOLO to our format:
After runnuning darknet on a list of images, e.g.: `darknet.exe detector test data/voc.data yolo-voc.cfg yolo-voc.weights -dont_show -ext_output < data/test.txt > result.txt`
1) Copy the file `result.txt` to the folder `extra/`
2) Run the python script: `python convert_dr_yolo.py`
- ### convert keras-yolo3 to our format:
1) Add or update the class list to the file `class_list.txt`
2) Use the parameter `--dr` to set the **detection-results** source.
3) Run the python script: `python3 convert_keras-yolo3.py --dr <dr_file_path>`
1) Supports only python 3.
2) This code can handle recursive annotation structure. Just use the `-r` parameter.
3) The converted annotation is placed by default in a new from_kerasyolo3 folder. You can change that with the parameter `-o`.
4) The format is defined according with github.com/gustavovaliati/keras-yolo3
## Find the files that contain a specific class of objects
1) Run the `find_class.py` script and specify the **class** as argument, e.g.
`python find_class.py chair`
## Intersect ground-truth and detection-results files
This script ensures same number of files in ground-truth and detection-results folder.
When you encounter file not found error, it's usually because you have
mismatched numbers of ground-truth and detection-results files.
You can use this script to move ground-truth and detection-results files that are
not in the intersection into a backup folder (backup_no_matches_found).
This will retain only files that have the same name in both folders.
1) Prepare `.txt` files in your `ground-truth` and `detection-results` folders.
2) Run the `intersect-gt-and-dr.py` script to move non-intersected files into a backup folder (default: `backup_no_matches_found`).
`python intersect-gt-and-dr.py`
MarcoPage
- 粉丝: 4425
- 资源: 8835
最新资源
- 三菱FX3U PLC与Factory IO通讯仿真PID液位调节程序 说到学习PLC 的PID ,要有硬件 测温度的PID设备有: 输入输出模拟量模块300左右X2(有些PLC自带)
- carsim+simulink联合仿真实现变道 包含路径规划 carsim+simulink联合仿真实现变道 包含路径规划算法+mpc轨迹跟踪算法 可选simulink版本和c++版本算法(二选一)
- carsim+simulink联合仿真实现变道 包含路径规划 carsim+simulink联合仿真实现变道 包含路径规划算法+mpc轨迹跟踪算法 可选simulink版本和c++版本算法 可以适用于
- mpc模型预测控制从原理到代码实现 mpc模型预测控制从原理到代码实现 mpc模型预测控制详细原理推导 matlab和c++两种编程实现 四个实际控制工程案例: 双积分控制系统 倒立摆控制系统 车辆运
- 1.中性点不接地系统的小电流接地故障及故障选线的MATLAB仿真,也可以改接地的 2.两个打包(中性点不接地与中性点经消弧线圈接地),一个(中性点不接地或中性点经消弧线圈接地) 4.选线方法的仿真
- 多智能体,神经网络,自适应动态滑模,有文献可以参考 符合要求请放心联系,simulink,复现,保证能够运行
- 该模型是内置式的MTPA控制,速度环的输出为给定转矩,然后方式1通过求解MTPA方程得到dq给定电流,方式2进行工程近似得到dq给定电流,并外和id=0控制进行比较
- 永磁同步电机的无传感器控制算法 基于永磁同步电机(PMSM)的改进的卡尔曼滤波速度观测器simulink模型;可与普通卡尔曼滤波进行比对,精度大大提高
- 基于ESO的永磁同步电机无感FOC 1.采用线性扩张状态观测器(LESO)估计电机反电势,利用锁相环从反电势中提取位置和转速信息,从而实现无位置传感器控制; 2.提供算法对应的参考文献和仿真模型 拿
- 电机过调制算法模型从线性调制区到过调制区,算法已在量产车中验证过 电子文件产品
- 交错并联buck 两重化交错并联buck电路,采用电压电流双闭环控制,电流采用平均电流采样,载波移相180°,减少了电流纹波,可以减少电感体积 仿真波形如图所示,当采用软启动时,0.3秒的时间输出
- 永磁同步电机风力发电系统仿真模型,包含变桨系统与传动系统,运行各项指标正确,可稳定发出有功功率,无功功率为0
- fpga MIL-STD1553B源码,支持BC ,BM,RT 可任意移植到xilinx,altera,actel全系列型号 功能和接口可参考actel芯片1553b核,纯源码
- carsim交通场景搭建,carsim与matlab,prescan联合仿真,巡航、路径规划及道控制算法,cpar文件输出及场景图生成
- MMC,模块化多电平变流器的MATLAB,Simulink仿真 11电平三相MMC逆变器并网仿真,调制方式选用载波移相调制 采用双闭环矢量控制,施加环流抑制控制和子模块电容电压均衡控制 直流侧采用
- 三段式电流保护Matlab编程 Simulink仿真 1. Matlab编程计算三段式电流保护的整定值,并进行灵敏度校验; 2.Simulink搭建仿真模型,对三段式电流保护模型进行仿真分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈