- Clone the repo
- Install pipenv
pip install pipenv
- cd to the project directory
- Create the virtual environment
pipenv install --skip-lock
- Activate the virtual environment
pipenv shell
git clone https://github.com/pratikkayal/PlantDoc-Dataset.git
python3 -m src.generate_cropped
python3 -m src.resnet
python3 -m src.resnet --cropped
Generate training and validation data for Siamese network (uncropped images) (This may take a long time)
python3 -m src.generate_siamese_datacsv
The output CSVs can be directly downloaded from https://drive.google.com/open?id=1_LEjREWqrpQrq50lrhsVuoM_5ZWkMYbf
Generate training and validation data for Siamese network (cropped images) (This may take a long time)
python3 -m src.generate_siamese_datacsv --cropped
The output CSVs can be directly downloaded from https://drive.google.com/open?id=1_LEjREWqrpQrq50lrhsVuoM_5ZWkMYbf
python3 -m src.siamese
python3 -m src.siamese --cropped
python3 -m src.extract_embedding
python3 -m src.extract_embedding --cropped