Detection-of-plant-diseases/Makefile

25 lines
551 B
Makefile
Raw Permalink Normal View History

2024-05-06 00:07:09 +02:00
.PHONY: download-dataset resize-dataset sobel-dataset
2024-05-04 23:30:01 +02:00
# Use inside docker container
2024-05-04 23:30:01 +02:00
download-dataset:
python3 ./file_manager/data_manager.py --download
2024-05-06 00:07:09 +02:00
resize-dataset:
python3 ./file_manager/data_manager.py --resize --shape 64 64 --source "original_dataset"
2024-05-04 23:30:01 +02:00
sobel-dataset:
python3 ./file_manager/data_manager.py --sobel --source "resized_dataset"
login:
wandb login $$(cat "$$API_KEY_SECRET")
# Outside docker
docker-run:
docker-compose run --entrypoint=/bin/bash gpu
docker-build:
docker-compose build
check-gpu:
python3 ./gpu_check.py