<jupyter_start><jupyter_text>Preparation<jupyter_code># Token is github access token

#!rm -r ./AML-Project/
![[ ! -d "AML-Project" ]] && git clone -b development "https://<username>:<token>@github.com/DarthReca/AML-Project.git"
!mkdir -p "./AML-Project/new_txt_list"
!pip3 install -r "./AML-Project/requirements.txt"<jupyter_output><empty_output><jupyter_text>Runner<jupyter_code># Runner
!cd "./AML-Project" && python "main.py" --epochs_step1 2 --epochs_step2 2 --path_dataset "data"
# Remove useless weights
!find "./AML-Project/weights" -name "*_10.pth" -delete
#Debug Runner
!cd "./AML-Project" && python "main.py" --epochs_step1 2 --epochs_step2 2 --path_dataset "data" --batch_size 16 --source "Art_debug" --target "Clipart_debug" --n_classes_known 5 --n_classes_tot 8 
#Run with Step1 weights 
#weights will be in AML-Project/weights folder and will be called feature_extractor, object_classifier and rotation_classifier .pht
!cd "./AML-Project" && python "main.py" --path_dataset "data" --steps eval --load_weights<jupyter_output>Impossibile trovare il percorso specificato.
{'fraction_non_alphanumeric': 0.15143120960295475, 'fraction_numerical': 0.014773776546629732, 'mean_word_length': 4.891304347826087, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 1, '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': '415416', 'license': 'MIT', 'n_tokens_mistral': 402, 'n_tokens_neox': 383, 'n_words': 96, 'path': 'main_notebook.ipynb', 'repo_name': 'DarthReca/AML-Project', 'size': '1083'}