This repository contains the code and resources for the paper "CaMiT: A Time-Aware Car Model Dataset for Classification and Generation". The dataset and associated code are designed to explore the temporal dynamics of car model representations and evaluate various time-aware learning strategies for fine-grained image classification and generation.
- Dataset: Introduces CaMiT, a large-scale, timestamped dataset of car models photographed over 17 years, contributed by 337K unique users.
- Experiments: Evaluates the effectiveness of static pretraining (SPT), time-incremental pretraining (TIP), time-incremental classifier learning (TICL), and time-aware image generation (TAIG) on the CaMiT dataset.
- Findings: Demonstrates the importance of time-aware approaches in mitigating temporal data shift and improving performance for both classification and generation tasks.
The repository is organized into several folders, each corresponding to a specific component of the project. Below is a brief description of each folder:
- Contains the code and scripts used for semi-automatic annotation of the CaMiT dataset.
- Code for finetuning CLIP models with LoRA.
- Contains the implementation of time-incremental classifier learning (TICL) algorithms.
- Code for finetuning MoCo v3 models with LoRA for car model classification.
- Scripts for detecting the cars from scraped images
- Code for pretraining MoCoV3 (TIP)
- Implementation of time-aware image generation (TAIG) using Stable Diffusion.
- The dataset is available
here
- Pretrain Mocov3 models with code in
pretrainor downloadcheckpoints - Navigate to the
Incrementalfolder to run ncm evaluation scripts
- Results and metrics are reported in the paper. To reproduce the results, follow the instructions in the respective folder READMEs.