<jupyter_start><jupyter_text><jupyter_code>#Download Blender from Repository
!wget https://download.blender.org/release/Blender2.91/blender-2.91.0-linux64.tar.xz
#Install Blender 
!tar xf blender-2.91.0-linux64.tar.xz
#Download some required libraries
!apt install libboost-all-dev
!apt install libgl1-mesa-dev
#Connect Google Drive
from google.colab import drive
drive.mount('/gdrive')
#if you run out of ram (Currently not working)
a = []
while(1):
    a.append(1)
filename = '/gdrive/MyDrive/Blender/jingles.blend'
#Run Blender 
!sudo ./blender-2.91.0-linux64/blender -b $filename -noaudio -P '/gdrive/MyDrive/Blender/GPU.py'  -E 'CYCLES' -F 'PNG' -f 102
#!sudo ./blender-2.91.0-linux64/blender -b $filename -noaudio -- --cycles-device CUDA  -E 'CYCLES' -f 1 -F 'PNG'
# -E = Engine, -F = file extention, -f = frame, -b = background, -P = Python file (GPU.py) for 
#for BLENDER_EEVEE (Currently not working)
!sudo ./blender-2.91.0-linux64/blender -b $filename -noaudio -f 1
#for animation for video
!sudo ./blender-2.91.0-linux64/blender -b $filename -noaudio -P '/gdrive/MyDrive/Blender/GPU.py'  -E 'CYCLES' -s 1 -e 240 -t 2 -a
#!sudo ./blender-2.91.0-linux64/blender -b $filename -noaudio -P '/gdrive/MyDrive/Blender/GPU.py'  -E 'CYCLES' -f 1 -F 'PNG'
# -s = start frame and -e = end frame

#for BLENDER_EEVEE Animation (Currently not working)
!sudo ./blender-2.91.0-linux64/blender -b $filename -noaudio -s 10 -e 500 -t 2 -a<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15832762165867031, 'fraction_numerical': 0.04866346812885538, 'mean_word_length': 3.6056782334384856, '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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '368597', 'license': 'MIT', 'n_tokens_mistral': 639, 'n_tokens_neox': 585, 'n_words': 155, 'path': 'Blender.ipynb', 'repo_name': 'saannddeepp/blender-render-tool-on-google-colab', 'size': '1459'}