Import catalog general structure(local mode)
- 29 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Import catalog general structure(local mode)
- Updated on 29 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
In Local mode(deprecated), catalog import is supported through adectl command line utility. The comma-separated value(CSV) file must be created in the following format.
file_path(string),frame_idx_in_file(int),class(string),score(int)
a.jpg, 0, person, 85
b.jpg, 0, vehicle, 50
The first line should be the header line with the following details.
- file_path(string): A mandatory column that contains the file path. The file_path should be specified relative to
- URI specified in container specification. For example, if the container URI is s3://my-bucket, and the file path is s3://my-bucket/vehicle/a.jpg, then the file_path should be specified as /vehicle/a.jpg.
- For the directory on the local filesystem, the file path should be relative to the data directory configured during 'adectl config'.
- frame_idx_in_file(int): A mandatory column with
- Value of 0 for image type of dataset.
- Relative frame number within video file for video type of dataset.
- Name(data type) for other columns must be provided:The supported data types are
- float
- int
- bool - For this type of column, the value values are 0 and 1.
- string
Was this article helpful?