First of all, many thanks for helping to provide data for this project! Hopefully these instructions are clear and the process is easy, but please reach out if you have any questions or issues.
- Clone the repo
git@github.com:carsonmclean/csc2558.githttps://github.com/carsonmclean/csc2558.git
- Download the dataset
- Full CIFAR-100 pre-processed dataset download (183MB)
- Output of create_cifar_100_pandas.ipynb. 60,000 images, complete dataset.
- Smaller CIFAR-100 pre-processed dataset download (31MB)
- 10,000 images sampled randomly from complete dataset.
- Save either dataset within the CSC2558 repo at
data/cifar-100/cifar-100.pkl. Note that the smaller dataset will need to re-named to matchcifar-100.pkl.
- Full CIFAR-100 pre-processed dataset download (183MB)
- Install packages
python3withjupyter, numpy, pandas, opencv
- Start up Jupyter server and run labelling.ipynb
- The Jupyter server should be started in the repo's root directory, ie
csc2558/ - Some volunteers experienced path issues with my
src/libdirectory. This should now be resolved in recent commits, else try adding the entiresrc/to the notebook's path with the code below. Replace<path_to_dir>with the full path to thecsc2558repo on your computer:import sys sys.path.append("<path_to_dir>/csc2558/src")
- Apologies about this bug. Things ran fine on my laptop because I had forgotten that I had marked the
src/as a "Sources Root" within PyCharm, which adds the directory to the Python PATH but this is not saved anywhere in the repo for volunteers who pull the repo to their own computers.
- The Jupyter server should be started in the repo's root directory, ie
- Within the notebook, please take a second to look at the fine label/Classes categories contained within the coarse/Superclass labels, which correspond to the buttons available in the third notebook cell.
- Please enter your name or any other string identifier into the
Name: ____box. - Label images!
- Both an original size CIFAR-100 image (32x32) and enlarged image (150x150) version are displayed. Resolution quality is quite low in the CIFAR datasets, but this adds to the challenge of the task.
- The volunteer labeller's goal is to maximize
# of correct images/min, so both speed and accuracy count. Approach the task as if you were an Amazon Mechanical Turk worker, meaning don't try too hard but do pretend you are being paid a couple cents for each correct label. Sometimes guessing is better than spending too much time, but that's up to your discretion! - Please complete at least 100 images in a single session. I estimate this to take ~10 minutes.
- If you're able, more data is appreciated! This could be over multiple sessions (ie, restarting notebook/Jupyter Server). The data should just keep being appended to the CSV.
- Using different names between sessions with a large time break would be appreciated but is not necessary.
- EG:
Geoffrey H 1and thenGeoffrey H 2
- Send back completed annotations CSV for analysis
- Within the repo, annotations will be located at
data/cifar-100/annotations.csv. This is just a regular CSV, so feel free to double check your responses are being recorded as you expect.
- Within the repo, annotations will be located at
Thank you very much for your time!
P.S. If there is a good guide on getting something like this running on Colab, please let me know!