Python modules:
LocalDNAS.py: impementation of both the SuperNet method and cost-aware regularizersalternatives.py: alternative modules considered in supermodulesutils.py: utility module
Jupyter notebooks:
SuperNet_MBNV3.ipynb: training strategy for MBNV3 on ImageNet-100 and application of SuperNet to MBNV3 targeting SE modulesSuperNet_regularizers.ipynb: cost-aware optimizations of SuperNet on MBNV3 by considering cost-aware regularizers on number of parameters and FLOPsmodel_comparison.ipynb: comparison between standard MBNV3 and models achieved with the application of SuperNet
- Create and activate the conda environment:
conda create -n cv-project python==3.11 -y
conda activate cv-project- Install
requirements.txtfile:
pip install -r requirements.txt- Move to the project folder and download the dataset using Kaggle:
kaggle datasets download ambityga/imagenet100- Unzip
imagenet100.zip:
mkdir ImageNet
unzip imagenet100.zip -d ImageNet