> For the complete documentation index, see [llms.txt](https://lauradang.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lauradang.gitbook.io/notes/machine-learning/neural-networks/training-own-datasets.md).

# Training Own Datasets

1. Make an array that stores all the images (in b\&w or colour)
2. Resize all images to be the same shape and size
3. Assign each category a number (dog is 0, cat is 1)
4. Create a new array that has both the resized image and the category number
5. Store in pickle
