@@ -128,14 +128,19 @@ To compute the map, the following parameters are needed:
|
|||||||
./map_demo <network rt> <network type [y|c]> <labels file path> <config file path>
|
./map_demo <network rt> <network type [y|c]> <labels file path> <config file path>
|
||||||
```
|
```
|
||||||
where
|
where
|
||||||
* <network rt>: rt file of a choosen network on wich compute the mAP.
|
* ```<network rt>```: rt file of a choosen network on wich compute the mAP.
|
||||||
* <network type [y|c]>: type of network. Right now only y(yolo) and c(centernet) are allowed
|
* ```<network type [y|c]>```: type of network. Right now only y(yolo) and c(centernet) are allowed
|
||||||
* <labels file path>: path to a text file containing all the paths of the groundtruth labels. It is important that all the labels of the groundtruth are in a folder called 'labels'. In the folder containing the folder 'labels' there should be also a folder 'images', containing all the groundtruth images having the same same as the labels. To better understand, if there is a label path/to/labels/000001.txt there should be a corresponding image path/to/images/000001.jpg.
|
* ```<labels file path>```: path to a text file containing all the paths of the groundtruth labels. It is important that all the labels of the groundtruth are in a folder called 'labels'. In the folder containing the folder 'labels' there should be also a folder 'images', containing all the groundtruth images having the same same as the labels. To better understand, if there is a label path/to/labels/000001.txt there should be a corresponding image path/to/images/000001.jpg.
|
||||||
* <config file path>: path to a yaml file with the parameters needed for the mAP computation, similar to demo/config.yaml
|
* ```<config file path>```: path to a yaml file with the parameters needed for the mAP computation, similar to demo/config.yaml
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
<<<<<<< HEAD
|
||||||
cd build
|
cd build
|
||||||
./map_demo dla34_cnet.rt c ../demo/COCO_val2017/all_labels.txt ../demo/config.yaml
|
./map_demo dla34_cnet.rt c ../demo/COCO_val2017/all_labels.txt ../demo/config.yaml
|
||||||
```
|
```
|
||||||
|
=======
|
||||||
|
./map_demo dla34_cnet.rt c path/to/labelsCOCO_val2017.txt ../demo/config.yaml
|
||||||
|
```
|
||||||
|
>>>>>>> 6e2ff405f40e640823c1359a42aebe2d28a93820
|
||||||
|
|||||||
Reference in New Issue
Block a user