mobadara's picture
Remove quick git fix instructions from README
46b4f99 unverified
|
Raw
History Blame
1.47 kB

πŸ“‚ Dataset Directory

This directory serves as the local storage for the Kaggle Chest X-Ray (Pneumonia) Dataset.

To keep the repository lightweight and Git history clean, the raw image files are not committed to version control. Instead, the dataset is downloaded programmatically via our automated data ingestion pipeline.

πŸš€ How to Download the Data

Do not manually download or extract the data. Use the provided bash script to ensure the data is formatted and placed correctly for the PyTorch training notebooks.

Prerequisites

You must have your Kaggle API Token configured. You can either set it as a Colab Secret or export it to your local terminal:

export KAGGLE_API_TOKEN="your_token_here"

Execution

From the root of the project, grant execution permissions and run the download script: Bash

chmod +x scripts/01_download_dataset.sh
./scripts/01_download_dataset.sh

πŸ“ Post-Download Structure

Once the script completes, this directory will automatically populate with the following structure: Plaintext

dataset/
β”œβ”€β”€ chest_xray_data/
β”‚   β”œβ”€β”€ train/          # Training images (NORMAL & PNEUMONIA)
β”‚   β”œβ”€β”€ val/            # Validation images
β”‚   └── test/           # Testing images
└── README.md

⚠️ Important: Ensure that dataset/chest_xray_data/ is included in your project's .gitignore file to prevent pushing large image files to GitHub.