Alzheimer-Classifier-Demo / download_pictures.py
Thomas Lucchetta
Add files via upload
a3a57c6 unverified
raw
history blame contribute delete
245 Bytes
from huggingface_hub import snapshot_download
from constants import HF_MODEL_REPO_NAME, ROOT_DIR
import os
def download_images():
snapshot_download(repo_id=HF_MODEL_REPO_NAME, repo_type="dataset", local_dir=os.path.join(ROOT_DIR, "images"))