<jupyter_start><jupyter_text>Lesson2 : Multiclass Data Classification<jupyter_code>!pip install --process-dependency-links pytorch-sconce==0.10.3
!pip install --no-cache-dir -I Pillow==5.0.0
# You may need to restart the notebook (Menubar: Runtime -> Restart runtime...)
from sconce.datasets.csv_image_folder import CsvImageFolder
from torch.utils import data
from torchvision import transforms

import numpy as np
import sconce
import torch

print(f"Run with pytorch-sconce version: {sconce.__version__}")<jupyter_output>Run with pytorch-sconce version: 0.10.3<jupyter_text>Get Kaggle Data (Setup)<jupyter_code>from google.colab import files
uploaded = files.upload() # Choose your local kaggle.json file

# move the file into place and update it's permissions
!mkdir ~/.kaggle
!cp kaggle.json ~/.kaggle
!chmod 600 ~/.kaggle/kaggle.json<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10149942329873125, 'fraction_numerical': 0.01730103806228374, 'mean_word_length': 5.728682170542636, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '324936', 'license': 'MIT', 'n_tokens_mistral': 318, 'n_tokens_neox': 303, 'n_words': 82, 'path': 'Lesson2.ipynb', 'repo_name': 'amilacsw/fastai-course-amila', 'size': '867'}