move convert dir to tools dir

This commit is contained in:
tzutalin 2021-02-28 11:06:13 -08:00
parent bfda006576
commit d8fdd478ef
2 changed files with 12 additions and 10 deletions

View File

@ -1,11 +1,13 @@
# Convert the label files to CSV
# Additional tools
## Introduction
## Convert the label files to CSV
### Introduction
To train the images on [Google Cloud AutoML](https://cloud.google.com/automl), we should prepare the specific csv files follow [this format](https://cloud.google.com/vision/automl/object-detection/docs/csv-format).
`label_to_csv.py` can convert the `txt` or `xml` label files to csv file. The labels files should strictly follow to below structure.
## Structures
### Structures
* Images
To train the object detection tasks, all the images should upload to the cloud storage and access it by its name. All the images should stay in the **same buckets** in cloud storage. Also, different classes should have their own folder as below.
```
@ -48,7 +50,7 @@ To train the images on [Google Cloud AutoML](https://cloud.google.com/automl), w
| | (same as TRAINING and VALIDATION)
```
## Usage
### Usage
To see the argument of `label_to_csv.py`,
```commandline

0
convert/label_to_csv.py → tools/label_to_csv.py Normal file → Executable file
View File