It’s not clear how to run a fasterrcnn training on a coco dataset.
The only thing that is clear from the documentation, is that one can train with a coco dataset.
I will use the kitti_config specs to clarify the question:
kitti_config {
root_directory_path: “/workspace/tao-experiments/data/training”
image_dir_name: “image_2”
label_dir_name: “label_2”
image_extension: “.png”
partition_mode: “random”
num_partitions: 2
val_split: 14
num_shards: 10
}
Does it work the same for coco?
How can I make it work with a coco annotation file that has information about image names (not pathes)?
Can I have all images in one folder and the annotations in another folder without having a train/test/val subdirectory? and TAO picks randomly according to the test split?
According to the ~/.tao_mounts.json file, the $LOCAL_SPECS_DIR/data_convert_specs.txt in the command line should be modified to /workspace/tao-experiments/detectnet/specs/data_convert_specs.txt.
It also made the role of ~/.tao_mounts.json clearer for me.
Firstly, I thought that the paths-arguments given in a tao commands are those that corresponds to directories in the local file system , not those inside the docker container.
However, it seems that the tao commands treats the paths as if they are inside the docker, and then the tao_mounts.json plays the lookup role for the docker to fetch the source that corresponds to a destination for fetching what is needed (specs, data, …).