tensorbay.opendataset.CompCars#
- tensorbay.opendataset.CompCars(path)[source]#
CompCars dataset.
The file structure should be like:
<path> data/ image/ <make name id>/ <model name id>/ <year>/ <image name>.jpg ... ... ... ... label/ <make name id>/ <model name id>/ <year>/ <image name>.txt ... ... ... ... misc/ attributes.txt car_type.mat make_model_name.mat train_test_split/ classification/ train.txt test.txt
- Parameters
path (str) – The root directory of the dataset.
- Returns
Loaded
Dataset
instance.- Return type