<jupyter_start><jupyter_text><jupyter_code>!git clone https://github.com/ultralytics/yolov5.git
!unzip /content/Animation-Faster-R-CNN.v3-yolo_mindseye.yolov5pytorch.zip
%cd yolov5/
!pip install -r requirements.txt
!python train.py --img 416 --batch 8 --epochs 103 --data /content/yolov5/data/coco128.yaml --weights yolov5s.pt --nosave --cache 
!python val.py --weights runs/train/exp/weights/last.pt --data /content/yolov5/data/coco128.yaml --img 416 
%cd /content/yolov5/
!python detect.py --weights runs/train/exp/weights/last.pt --img 416 --conf 0.4 --source /content/test/images --save-txt
from google.colab import drive
drive.mount('/content/gdrive')
%cp /content/yolov5/runs/train/exp/weights/last.pt /content/gdrive/My\ Drive
%cp -r /content/yolov5 /content/gdrive/My\ Drive
import glob
from IPython.display import Image, display

for imageName in glob.glob('/content/yolov5/runs/detect/exp/*.jpg'): #assuming JPG
    display(Image(filename=imageName))
    print("\n")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1540755467196819, 'fraction_numerical': 0.03180914512922465, 'mean_word_length': 4.060301507537688, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '362256', 'license': 'MIT', 'n_tokens_mistral': 398, 'n_tokens_neox': 378, 'n_words': 75, 'path': 'yoloimproved.ipynb', 'repo_name': 'ranjiparker/vst-animated', 'size': '1006'}