Update README.md

This commit is contained in:
Micaela Verucchi
2020-02-11 11:28:20 +01:00
committed by GitHub
parent 1936e54870
commit 6e2ff405f4
+5 -5
View File
@@ -123,13 +123,13 @@ 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:
```
./map_demo dla34_cnet.rt c path/to/labelsCOCO_val2017.txt ../demo/config.yaml
```
```