Import catalog general structure(local mode)
  • 29 May 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Import catalog general structure(local mode)

  • Dark
    Light
  • PDF

Article summary

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.

  1. file_path(string): A mandatory column that contains the file path. The file_path should be specified relative to
    1. 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.
    2. For the directory on the local filesystem, the file path should be relative to the data directory configured during 'adectl config'.
  2. frame_idx_in_file(int): A mandatory column with
    1. Value of 0 for image type of dataset.
    2. Relative frame number within video file for video type of dataset.
  3. Name(data type) for other columns must be provided:The supported data types are
    1. float
    2. int
    3. bool - For this type of column, the value values are 0 and 1.
    4. string

Was this article helpful?