https://github.com/williamfalcon/cifar5
https://github.com/williamfalcon/cifar5
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/williamfalcon/cifar5
- Owner: williamFalcon
- License: apache-2.0
- Created: 2021-03-06T16:37:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T22:08:50.000Z (over 4 years ago)
- Last Synced: 2025-03-24T11:56:54.975Z (about 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 5
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CIFAR 5 demo
# Pull data
Download the dataset
```bash
git clone https://github.com/YoongiKim/CIFAR-10-images.git
```
Prune classes to have only 5
```bash
cd CIFAR-10-images
for phase in train test
do
for class in automobile cat deer frog horse
do
echo "$phase/$class"
rm -rf "$phase/$class"
done
done
```
## Run demo
```bash
pip install -r requirements.txt
python project/lit_image_classifier.py --data_dir ../CIFAR-10-images
```