Merge README

Signed-off-by: xavier <micaelaverucchi@gmail.com>
This commit is contained in:
xavier
2020-02-11 14:58:25 +01:00
+10 -5
View File
@@ -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>
```
where
* <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
* <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
* ```<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
* ```<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
Example:
```
<<<<<<< HEAD
cd build
./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