No GPU 😲😲 Blender + Google Colab | Render Faster With Cycles In Colab | Python Script + Notebook

  Рет қаралды 18,475

5 Minutes Blender

5 Minutes Blender

Күн бұрын

Пікірлер: 270
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
𝐃𝐨𝐰𝐧𝐥𝐨𝐚𝐝 𝐭𝐡𝐞 𝐬𝐜𝐫𝐢𝐩𝐭 𝐚𝐧𝐝 𝐧𝐨𝐭𝐞𝐛𝐨𝐨𝐤 𝐜𝐨𝐝𝐞 𝐟𝐫𝐨𝐦 👉 bit.ly/5mbColabScript (more instructions in the video description on how to use it). If you get a File-Not-Found Error, remember that the actual error may be different from what you see. Since there are multiple lines of code, if there is an error at some point (often due to incorrect Blender version number or file name), it will result in more errors afterwards. Only the first error matters, rests will be solved if the first error is solved. Please send me the complete log of your notebook output (send to 5minblender@gmail.com) so that I can verify what the actual error is and suggest you accordingly.
@scmusicacademy1341
@scmusicacademy1341 5 ай бұрын
I did it and it worked, thanks
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
@@scmusicacademy1341 Awesome! Cheers!!
@TheAlbinobatman
@TheAlbinobatman 7 ай бұрын
Thank you very much on behalf of my laptop too !There are very few Blender gurus whose videos aren't annoyingly loud , their videos are not actually about only hidden trading and " sign up ! " hunting . There are very, very few Blender gurus who come with valuable , clear content. You are like that. Thank You !
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
Thank you so much for the appreciation, you made my day 😊💝💝
@TheAlbinobatman
@TheAlbinobatman 7 ай бұрын
@@5MinutesBlender My pleasure ! Thanks for your shared knowledge , now I can render in good quality and quickly with a laptop away from my home.( Asus i5, 16 GB RAM, 2Gb Gpu ) Although until now this was only possible on the my home pc. (By terms of efficiency.) First i tried this method with a simple , short animation consisting of 450 frames. ( Fbx character, particle system based light sword, some reflective surfaces, HDRI background light with cycles render + 32 / denoising ) Shortly after the test start , i wached cycle of the runtime environment in disbelief: done !Then I saw the result : highly effective !I mean..Wow ! So i just want to say that you make my day , rather than vice versa. Thank you !
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
@@TheAlbinobatmanWow, that sounds great 😃😃 I'm feeling happy for you 😊
@Shieverski
@Shieverski 8 ай бұрын
I've been rendering before with Google Colab and I was using it with different guidance and notebooks, but the way you presented and the code you provided made it the easiest way so far. Great tutorial, thank you!
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
Glad you found it helpful! Cheers!! 💝💝
@willtube2
@willtube2 7 ай бұрын
mine always gives an error, can you help me?
@PiffoPiffero
@PiffoPiffero 7 ай бұрын
@@willtube2 you need to pay...
@leskuelbs9558
@leskuelbs9558 10 ай бұрын
Glad you mentioned best practices. I've heard some ai image people having problems. All the videos I have seen on that just go, use colab, nothing else. Another thing that might need to get out is google can deny access if they are busy. They do that even to the lower tier paid. It's in the terms of service. When it happened to me, I tried again and it was no problem. BTW you make great vids!
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
I am glad to know that you found some differences 💝 I have been using this service and I tried to enrich the video with my experience. Thanks for your tips too 👍👍
@KNull_Official
@KNull_Official Күн бұрын
Bro... After 2 hours my rander was completed👌💯 hence, proved this is original video ❤
@ArsafinSpeedGame.
@ArsafinSpeedGame. 5 ай бұрын
Thank you man, it's absolutely works! and thanks for making this vids as short as possible, and the clear instruction :D Keep It UP man! Wishing you luck :P
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Thank you for your nice words 😊💝💝
@foreignnatta
@foreignnatta 2 ай бұрын
Really cool! If your render is getting canceled on google colab ("c^"), that's probably because you're using too much memory, so I recommend to check the box "Use compact BVH" to lower the memory footprint (it will slow down the render a bit though). Of course, this solution is not the best for big projects, but for small ones/still images it works pretty nice.
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
Thank you so much for sharing this helpful suggestion 👍👍
@rajendrameena150
@rajendrameena150 8 ай бұрын
Really packed precious value in 5 minute.😊 Even replied each comment with best answers😊 will try it definitely...
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
Thank you so much 😊 I wish you success while trying this method 👍
@Huguillon
@Huguillon 7 ай бұрын
Worked even with linked assets, you just upload the blend files or the folder with the blend files of the assets to the drive. By the way I had to do some changes to the code, basically removin every space ("My Drive = MyDrive" and "Image Sequence = Image_Sequence") And for animation I used "-s 0 -e 10 -a"
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
Glad it helped 👍 And thanks for sharing some tips too! 👍
@Huguillon
@Huguillon 7 ай бұрын
@@5MinutesBlender Thank you for your video, is awesome!!!
@jaydiplahkar8703
@jaydiplahkar8703 6 ай бұрын
your comment saved my sanity broo
@ScaryBeats777_montage_creator
@ScaryBeats777_montage_creator Ай бұрын
i am trying to do so but it's keep getting failed. its saying missing "file name"
@Huguillon
@Huguillon Ай бұрын
​@@ScaryBeats777_montage_creator Are you uploading every necessary file?
@ReubenShrestha
@ReubenShrestha 7 ай бұрын
A big thumbs up for creating such an esay cloud rendering video! i've propably watched all the video on youtube abount cloud rendering none of those worked out for me but man this worked on a first try its so simple and esay compared to other videos that ive watched. Thanks a lot. Just curious to know the frame render limitations if there are any can i do like 500 frames with less render samples.
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
Thanks for the appreciation and I'm glad that it worked 😊 Yes, you can use a lower sample number like 64 or even 50 unless you have very fine texture etc. But do these experiments first on your machine and ensure the quality you need. Then render a couple of frames on colab and check the time it needed for the actual render. Now render a series keeping the overall time within one hour. Don't go beyond that in one stretch, to remain in the good book of Google.
@ReubenShrestha
@ReubenShrestha 7 ай бұрын
@@5MinutesBlender ill surely keep these thing on mind once again thankyou very muchhhhh I dont have a word to discribe how thankfull i am!. Looking forward for more cool videos.
@Martin-imr
@Martin-imr 7 ай бұрын
Is the render output as shown in the video always as mp3 files(images) or can it be used to render animations?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
We used png for image files or image sequence files. You can easily convert that image sequence into a video. This is the industry norm i.e. first render into image files and later combine them into a video mp4 file in any video editor. However, you can also render directly a video file as well if you wish (but this is not recommended as the image sequence has several advantages).
@_Chipp
@_Chipp Ай бұрын
@@5MinutesBlender how can i render it as a video file directly?
@5MinutesBlender
@5MinutesBlender Ай бұрын
@@_Chipp In your blend file you need to set the output file format as ffmpeg instead of PNG or something else. Then either don't use any output format in the colab notebook code (search for PNG in that code) or replace it with FFMPEG (the notebook code overrides your blend file settings, better to set it as FFMPEG in the blend file and just omit this parameter in the notebook code).
@_Chipp
@_Chipp Ай бұрын
@@5MinutesBlender thank you very much!
@ADIEFX
@ADIEFX 9 ай бұрын
it has started rendering frames but when i am going in image sequence folder, it shows that the folder is empty
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
It creates the frames initially in a similar folder within colab. Once this step is over (i.e. all frames are rendered), it will copy them to your drive folder. If you want to check it in the mean time, expand the file explorer on colab and check the folder called image sequence under content. You can even manually download them while the rendering is on. We purposefully did not direct the render result to the drive folder in order to make it faster and to avoid any accidental removal of the frames by another parallel process.
@ADIEFX
@ADIEFX 9 ай бұрын
@@5MinutesBlenderUnderstandable
@arslanahmed5676
@arslanahmed5676 10 ай бұрын
Can we do renders on Eevee? Do we need to change something in the script or some other step?
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
There is no easy way to do that since we are using the command line input to run Blender, and Eevee is not supported through the command line mode, it always defaults to Cycles. Some people invented a clever way to fake a display within the command line mode and cheat Blender to run Eevee. So I won't say that it is impossible, but within the Colab environment it is going to be almost useless because you'll need to do the entire setup every time you connect, and secondly the speed advantage is also reduced when we use a fake display. It is more useful on a personal computer.
@estebanahumedom4366
@estebanahumedom4366 3 ай бұрын
Thanks for the tutorial, works excelente, i am rendering with collab an animation of 198 frames, i arrive to 68 and after colab asked me to pay, what are the time for use again?
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
The clock usually resets in a day or two, and you can again use it for free. Please ensure not to hit their time limit ever since hitting this limit several times can make colab less available for your account permanently. There is no specific limit because it depends on the network use and many other factors. I have seen if I choose the right time of the day it is safe to run colab for 40-45 minutes at a stretch, for 2 such runs in a single day spaced by a few hours. But this can change dynamically from day to day.
@victorflames77
@victorflames77 2 ай бұрын
Thank you very much for your contribution; it is of great value to us since we don't have very powerful computers! I have a question: can I use this same code with Google's paid GPUs? They have a package that offers 100 computation units, but I would like to know how many frames or projects I can create with those 100 units that Google Colab offers in the pro package.
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
Glad you liked this tutorial 😊 Yes, you can use this same script with the paid GPUs, no difference in the script. But before you go for the paid options, I suggest you try it with the free GPUs and be comfortable. Google imposes some restrictions even for the paid GPUs (when the uses are highly loaded). After several uses you'll get a fair idea about how long it takes to render some scene (it is not a constant value, it depends a lot on your scene, materials, textures and also the network load).
@vrmsali
@vrmsali 10 ай бұрын
Thank you for sharing this service. This is amazing. Just wondering how you came about that this service exists.
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
Glad it helped! 😊 I am not the first one to use this service, someone told me about it, I shared it with you adding my own experience, and you'll also pass on the knowledge to someone else... the knowledge chain will grow like that ❤️
@justinarchiquette7591
@justinarchiquette7591 10 ай бұрын
Similarly, you can create a StableDiffusion instance and run on the colab servers, if your computer is a potato. I used the paid GPUs for a bit, it was only $9/month
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
@@justinarchiquette7591 Yes, I did some AI stuff too on colab, it's pretty amazing actually 😊 We are living in our dreams 😂
@konradswart4069
@konradswart4069 10 ай бұрын
To me, it is not useful, because this Linux version hasn't Animation Nodes installed. In fact, I don't see anything about a blender version with plugins installed. So, how can you use this with plugins?
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
If you mean add-ons, you can install them using the script. So in the colab notebook, use some commands like bpy.ops.preferences.addon_install(filepath=...) to install your add-on, then enable it using bpy.ops.preferences.addon_enable(module=...) and then render your scene.
@konradswart4069
@konradswart4069 10 ай бұрын
@@5MinutesBlender Thanks! _NOW_ this video is useful!
@fullyleaded
@fullyleaded 10 ай бұрын
What plugins do you use for rendering?
@konradswart4069
@konradswart4069 10 ай бұрын
@@fullyleaded As you might know, there is a huge issue with rendering in Blender with Animation Nodes. If you make extensive use of Animation Nodes, like switching the shaders by using those nodes, and you render this in the usual way, like with Ctrl F12, Blender _crashes immediately!_ Thanks to Chris P and his KZbin channel, there is a solution. You must not render directly, but render by using a Python script in the Scripting editor. You can find the code if you go to the video of Chris P, kzbin.info/www/bejne/r5WknnmIZ9yBb9k I not only render in Blender but also make animations in the Unity game engine. There I render with the Recorder asset, which renders _much faster!_ However, this has another problem. If you decide to use Unity now, you can no longer install this Recorder asset, because it has been decommissioned. Only those who have used it in the past are allowed to use it. Moreover, the latest version of Unity wherein this Recorder works is Unity 2021.3f if I remember well. I also have made a midi program with its own renderer. However, its rendering happened on the CPU, and the graphics were based on the Windows API, which made it really unstable. So, I have made only a few videos with that. And, lastly, I have made a midi animation with Wolfram's Mathematica, which also has a renderer. However, the graphical capabilities for making midi animations were too restrictive. A few days ago I bought K-Cycles for Blender, but I haven't made an animation yet with that plugin. So, I don't know whether this will have stability issues. Oh yes. Before I forget. I also used Camtasia when I made animations with Synthesia. But that was way too primitive.
@ADIEFX
@ADIEFX 9 ай бұрын
i am getting this error, how to fix it? Blender 4.0.2 (hash 9be62e85b727 built 2023-12-05 08:48:50) Traceback (most recent call last): File "/content/blender-4.0.2-linux-x64/4.0/scripts/startup/bl_operators/userpref.py", line 659, in execute if os.path.samefile(pyfile_dir, addon_path): File "/content/blender-4.0.2-linux-x64/4.0/python/lib/python3.10/genericpath.py", line 100, in samefile s1 = os.stat(f1) FileNotFoundError: [Errno 2] No such file or directory: 'content/drive/MyDrive/Colab-Render' Error: Python: Traceback (most recent call last): File "/content/blender-4.0.2-linux-x64/4.0/scripts/startup/bl_operators/userpref.py", line 659, in execute if os.path.samefile(pyfile_dir, addon_path): File "/content/blender-4.0.2-linux-x64/4.0/python/lib/python3.10/genericpath.py", line 100, in samefile s1 = os.stat(f1) FileNotFoundError: [Errno 2] No such file or directory: 'content/drive/MyDrive/Colab-Render' Location: /content/blender-4.0.2-linux-x64/4.0/scripts/modules/bpy/ops.py:109 Traceback (most recent call last): File "/content/drive/MyDrive/Colab-Render/Addon_Enable1", line 3, in bpy.ops.preferences.addon_install(filepath='content/drive/MyDrive/Colab-Render/botaniq_full-6.4.0.zip') File "/content/blender-4.0.2-linux-x64/4.0/scripts/modules/bpy/ops.py", line 109, in __call__ ret = _op_call(self.idname_py(), kw) RuntimeError: Error: Python: Traceback (most recent call last): File "/content/blender-4.0.2-linux-x64/4.0/scripts/startup/bl_operators/userpref.py", line 659, in execute if os.path.samefile(pyfile_dir, addon_path): File "/content/blender-4.0.2-linux-x64/4.0/python/lib/python3.10/genericpath.py", line 100, in samefile s1 = os.stat(f1) FileNotFoundError: [Errno 2] No such file or directory: 'content/drive/MyDrive/Colab-Render' Location: /content/blender-4.0.2-linux-x64/4.0/scripts/modules/bpy/ops.py:109
@TonnoRex
@TonnoRex 6 ай бұрын
it s normal that is superslow the render in colab i have a simple i3 and it put 2 hour for a frame and google colab put 5 hours for a frame... it s normal?
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
No, it is not normal. It should not take even 2 hrs. I guess your render settings are probably incorrect or you forgot to enable GPU. Colab is usually quite fast, but based on the network traffic sometimes it can be slow. However, Colab free plan does not allow you to run on GPU for 5 hrs, so when you say that it took 5 hrs to render a frame, I think you are not using GPU.
@catarinaduarte973
@catarinaduarte973 4 ай бұрын
Hi! I was already 100frames in, and my runtime has ended. I want to save the frames ive already done. I go to the file tap on the left and click contents and the inage sequence, but there is no option or checkbox to download the frames ive done. how can i save them??
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Sorry for the late response. Unfortunately, once the runtime disconnects the local data is completely wiped out, so there is no way to get back already rendered images. So what I do instead is (although I seldom encountered disconnection) I do it in a batch of 50 and keep saving the set. That way in the worst case I will only lose the last 50 files, everything else is saved. You can even do it in a batch of 25, or you can modify the script to save each frame into Google drive, so no frame is lost even in case of an abrupt disconnection.
@DLVRYDRYVR
@DLVRYDRYVR 10 ай бұрын
The sweet spot! Tyvm
@arif-films-bd
@arif-films-bd 5 ай бұрын
Is it worth to purchase google colab pro for the blender rendering purpose?
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
It depends on your use case. If you render a lot, you can compare their price with several online render farms who do just this rendering for a price. Going for pro account in colab may not be beneficial if rendering is your only use case.
@AgairGilartes
@AgairGilartes 8 ай бұрын
Hello! My scene has a group of people, and their clothes have fabric simulation. These clothes and their animation were created in Marvelous Designer, which generates an Alembic file. This file is imported into Blender, and the mesh has a Mesh Sequence Cache modifier. When rendering the animation, the characters are rendered normally, but the clothes do not have the animation loaded and remain static and completely out of place. Is it possible to render with these clothes???
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
Hi, since you are using an add-on, first you need to also install that add-on while installing blender on colab. However, based on the add-on design it may or may not work because we are working completely in a headless mode here (i.e. through command line input). Some add-ons may need you to be in UI mode. For example, we have developed a 3D data visualizer add-on (it is a paid add-on) that works with colab, it is designed that way. Please check the comment trail we exchanged with another viewer who had a similar requirement. It contains more details on how to install an add-on on colab and some related issues in that respect. You can follow the same and try your luck.
@rajendrameena150
@rajendrameena150 8 ай бұрын
Why not bake simulation and then put it on render..
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
@@rajendrameena150 Yep, this can be also tried. Nice suggestion 👍
@dustonclubs3867
@dustonclubs3867 7 ай бұрын
Can u please make a tutorial on this with how to add add-ons in Google colob
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
@@dustonclubs3867 I can make a tutorial, but the problem is, colab runs on command line input, it does not have any UI. So any add-on that we install on colab won't be very helpful. We can only use those add-ons that come without any UI or menu, instead they have CLI mode. I am not aware of such add-ons, if you know please share. We can then create a tutorial on how to install the add-on on colab.
@rajk7479
@rajk7479 2 ай бұрын
Hello sir, i have a question, can the rendered frames outputs in video format???? because it would cost too much internet data , for example if i render my animation in 30fps then one minute video will be 1800 frames and if i render them each will be 2.5 mb average and it will be around 4.5GB just to download pngs :/
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
Yes it is possible. You need to select the ffmpeg option in the output format in your blend file, then save it and upload to drive. It will create a video output in the same location where you get the frames, it will directly create the video instead of the frames. You need to ensure that the internet connection is stable, and you cannot use it for a long animation since Google Colab will timeout and the progress will be lost. Suitable only for small a duration.
@rajk7479
@rajk7479 2 ай бұрын
@@5MinutesBlender do I have to change in colab note too , it's written PNG in it so I'm wondering what to write there in place of PNG?? and yes I'll not do long animation just in parts but I want it in video format , video format size would be less like under 50mb and thank u sir ☺️
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
No you can safely ignore it. Don't enter anything in colab notebook (remove "-f png" this entire part), it will pick up the format from your blend file.
@rajk7479
@rajk7479 2 ай бұрын
@@5MinutesBlender ok thanks sir, I will try to now
@Opsixx
@Opsixx 4 ай бұрын
It always tells me: No such file or directory: '/content/ImageSequence', whats the problem??
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Hi, often the actual error may be different from what you see. Since there are multiple lines of code, if there is an error at some point, it will result in more errors afterwards. Only the first error matters, rests will be solved if the first error is solved. Please send me the complete log of your notebook output (send to 5minblender@gmail.com) so that I can verify what the actual error is and suggest you accordingly.
@normal-reaction
@normal-reaction 5 ай бұрын
Thank you so much! Now I have no excuse to learn animation
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Great 😊 Glad I could help!💝💝
@FactFusion89ts
@FactFusion89ts 5 ай бұрын
Bro is it working properly?
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Yes, it works as always, there is no change. You need to follow the instructions accurately. Please let us know if you still find any issues.
@ErkamBal
@ErkamBal 6 ай бұрын
thanks so much man, I though it was impossible!! you are awesome
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Glad it helped! Cheers! 😊💝💝
@ErkamBal
@ErkamBal 6 ай бұрын
I have a queestion. Can we do physics simulations in blender with colab too? Because it helps to be baked.
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Yes absolutely! Please check this tutorial for physics baking on colab 👉 kzbin.info/www/bejne/oZzSmHqFZr-dhsU
@NishaDevi-mf4sh
@NishaDevi-mf4sh 8 ай бұрын
Thanks for the video and detailed explanation but I am getting stuck at a point- I am using a video .mov file in blender of 10sec long and my animation is also 10 sec long both with 30fps. Everything alright on pc. When i render on pc it comes out alright but not on colab. I also put that video in asset folder in same directory on drive. I also packed resources everything else comes out alright except that video. Help me in correcting it, it will be great help.
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
So let me understand it better. When you render on colab, what happens? Does the video show a mismatch in fps? Or does it render as black? What is the problem you see?
@NishaDevi-mf4sh
@NishaDevi-mf4sh 8 ай бұрын
@@5MinutesBlender Hi thanks for the reply, When i used it on collab it showed only purple screen instead of the frame for the video same thing for multiple frames(no change). reference: drive.google.com/file/d/1ZT62qa7GeGob48rSUsjjB0y2OSR3C85i/view?usp=drive_link But it showed me correctly if i render it on my pc and supposed to be like this. reference: drive.google.com/file/d/1B7G7rGQh8T_Qdt8CKtQ8vKwsPulSHo0M/view?usp=drive_link Please look into the reason if there is any and help me to resolve it. It will be a great help!!!
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
It usually happens if your texture or HDRI file is missing. The purple color is indicative of a missing texture (either for the materials or for the world background). Please double check if you packed all your textures into the blend file (and saved it) before uploading to Google drive. It can also happen for some other reasons, like you may have Fluid simulation in your scene and the baked data is not uploaded to drive.
@NishaDevi-mf4sh
@NishaDevi-mf4sh 8 ай бұрын
@@5MinutesBlender It worked!!! Hi I packed resources 4-5 times and saved again and then render and got the expected result. I must not have packed correctly. Thanks alot....! Request: Can you please make another video on how to render on google colab using resource files without packing resources. Sometimes if anyone use multiple some files for bigger projects, with packing blend file may become alot bigger in size... Hope you will make video on that... looking forward to that..!!!😊
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
@@NishaDevi-mf4sh Glad to know that it worked! 😊 Yes, packing is not mandatory, like I just rendered a fluid simulation a few days back in which case the fluid's baked data was uploaded to Google drive as a completely separate file (in fact as a separate folder, having several sub-folders, each sub-folder then contains thousands of files in it..... so a large file system). It rendered correctly. The key here is to use the correct "relative" file path everywhere. Then it does not matter whether you are rendering from your machine or on Google colab, it will use that relative path and get the textures or any such external file correctly. We talked about packing in this tutorial because that is simple to do, most reliable and it keeps everything clean. For large files, you can keep the files separate, just use relative file paths for those files.
@TestingAccT-nv7ho
@TestingAccT-nv7ho Ай бұрын
Thanks, but I have a problem. Since the files are copied to the drive only after full rendering is done, my files get lost if the session is stopped by a network interruption or some other problem. Is there a way to copy it to the drive after about each 15 frames or so? I also accessed the Image Sequence folder from the content/drive while rendering, but I need to download each frame individually, which is tiring when there are lots of them.
@5MinutesBlender
@5MinutesBlender Ай бұрын
There are two solutions. We can change the output file location in the script to Google drive, in that case the output will be saved directly in drive instead of colab. So if there is a disconnection, you have the already rendered frames intact. But this needs a constant data transfer between colab and drive which slows down the process. Our ultimate aim is to save time. So the other option is to break down the rendering into multiple parts. I usually render 50 frames or sometimes 25 frames at a stretch. It takes 15-20 minutes. Then I go for the next set. I never experienced a disconnection with such a small set, and never lost anything. It also acts as a reminder for me not to overuse colab (to avoid a ban). I usually render only 75 frames in a day and I never ever experienced any ban etc. I do have multiple machines and multiple accounts, but it is a risky bet if you are not cautious enough - so I don't recommend it to others 🙂
@TestingAccT-nv7ho
@TestingAccT-nv7ho Ай бұрын
@@5MinutesBlender Thanks for the reply. I will go with breaking the rendering into multiple parts to stay in good books. And great content btw.
@5MinutesBlender
@5MinutesBlender Ай бұрын
@@TestingAccT-nv7ho Thank you so much! 💝
@Sen_Main
@Sen_Main Ай бұрын
do i need to extract the linux download? or do i just paste the zip file?
@5MinutesBlender
@5MinutesBlender Ай бұрын
No, do not extract it. Use it as it is.
@rojcc4258
@rojcc4258 4 ай бұрын
hi, the video is great, thank you. i have a problem i can't use gpu for some reason it is limiting and running very slow on cpu any idea how to fix it?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Google has some usage restrictions for GPU. As discussed toward the end of this tutorial, follow the best practices to remain in the good book of Google and you'll be able to get GPU. For the time being, stay away from Google Colab for a couple of days so that the counter resets and you get back the access to a GPU. Then use it economically so that you are not again banned.
@rojcc4258
@rojcc4258 4 ай бұрын
@@5MinutesBlender thanks
@ADIEFX
@ADIEFX 9 ай бұрын
i used botaniq in the project, but in the render it's not there as i would have to install it in the colab blender too, can u tell me what changes i have to make in that code and where do i have to add the new code lines? " If you mean add-ons, you can install them using the script. So in the colab notebook, use some commands like bpy.ops.preferences.addon_install(filepath=...) to install your add-on, then enable it using bpy.ops.preferences.addon_enable(module=...) and then render your scene. "
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
Add these commands after Blender is installed on colab i.e. after Step 2. Within the commands the only thing you'll need to change is the filepath for the add-on you're installing (upload botaniq add-on zip file to your google drive and mention that path after the filepath= part within quotes, and mention the module name or the add-on name after the module= part within quotes, the module name can be found on your system where botaniq is installed, from Edit Preferences Add-on screen). But this add-on may need additional modules in Blender. Usually a professional add-on will auto-install them when required. If not, you need to install them before this step in the same way.
@itleen
@itleen 6 ай бұрын
@@5MinutesBlender can u help me
@itleen
@itleen 6 ай бұрын
@@5MinutesBlender im having this error: File "", line 7 bpy.ops.preferences.addon_install(filepath="C:\Users\llh\Desktop\poliigon-addon-blender.zip") ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
@@itleenYes, tell me bro.
@itleen
@itleen 6 ай бұрын
@@5MinutesBlender im having this error: File "", line 7 bpy.ops.preferences.addon_install(filepath="C:\Users\llh\Desktop\poliigon-addon-blender.zip") ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
@ayaangamingatoz9494
@ayaangamingatoz9494 3 ай бұрын
i have made a quick fire simulation in the blend file, unforturnately google colab doesnt render the fire simulation it only renders the emitter mesh lighting and the whole scene, is there any way i can render fire, water or smoke simulation using google colab? thank you
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
Please render it first on your local machine, maybe just a few frames say frame# 50, 100, 150, 200 etc and use Cycles for this. Then check if everything looks correct. Only then move it to colab. More than often the issues may be caught in the local rendering itself. If it renders correctly on your local machine but errs out on colab, we can investigate - but that is very rare, I have not seen any such case yet.
@ayaangamingatoz9494
@ayaangamingatoz9494 3 ай бұрын
@@5MinutesBlender it renders perfectly on my local machine in cycles but it doesnt render on colab.
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
@@ayaangamingatoz9494 Then I am not sure what the issue could be 🤔 Please check if you have any dependency on some file (say some texture or hdri) which you forgot to upload to colab or google drive. I have not come across any other reason so far that makes any difference between colab render and local render although sometimes I have experienced a small difference in the output quality with the same settings in both the places. I think the renderer uses some optimization based on the gpu settings, but this difference is very subtle, it is no match for the level of discrepancies you have described above.
@sam2276
@sam2276 3 ай бұрын
I did it but the folder only has random frames and not all of them, what could be the cause? (I ended the process before all my frames were rendered btw, but a lot of frames that were rendered are missing)
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
If you terminated the program premature, the result is not guaranteed. But I would like mention one thing here.... when you browse a folder on Google Drive that has a lot of files, it shows only some of them at random. I mean you may not find all the files in the list until it completes fetching all the file details. But the files are probably there. Just try to download the whole output folder as a zip file and then check on your machine if something is missing. I have been into this problem and in my case all files were intact although they were not showing up.
@sam2276
@sam2276 2 ай бұрын
@@5MinutesBlender thanks
@souvicksaha5386
@souvicksaha5386 3 ай бұрын
It's keep saying File or Directory not found content/Image Sequence
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
Please ensure that you have created the folders as shown in this tutorial, and then check the version number of the Blender file you are using. The Blender version is always changing, so the current version is different from what we used in this tutorial. You need to change this number in the script, and change it everywhere it is mentioned. All other things remain the same except the version number.
@eemsa
@eemsa 4 ай бұрын
Is it possible to render the animation in openexr file? If so, can you tell me how to do?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Yes, very much possible. Before upload, in your Blend file, go to the output properties and set the output file format to openexr. Then save the blend file and upload to your Google drive. Now if you render it using Google colab, you'll get openexr files in the output folder.
@eemsa
@eemsa 4 ай бұрын
Thank you for the reply. Even if in notebook code it's written as PNG, you say it would be rendered as openexr when I adjust output in blender file?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
@@eemsa Good catch! The format identifier in the notebook will override the blender file settings. So either remove that format identifier from the notebook code or change it to EXR from PNG. Then the output will be saved in openexr format. I just checked this.
@nisamdule
@nisamdule Ай бұрын
All materials are purple, can you please help me to fix this? I have my texture files in my pc should I upload them to the google cloud?
@5MinutesBlender
@5MinutesBlender Ай бұрын
Yes, you can upload the textures and also the HDRI file (if you used one), but you need to maintain the same relative folder structure as on your machine. An easier solution is to pack all the resources within the blend file itself and save it. Then just the blend file alone will be sufficient. We talked about this in the tutorial.
@nisamdule
@nisamdule Ай бұрын
@@5MinutesBlender I am new to blender, can you please tell me how to pack the textures in the blender file?
@stanleychukwu
@stanleychukwu 2 ай бұрын
men, you're a legend, you're legit replying every comment, what kind of a human been are you?
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
You made my day bro! 😊💝💝 Indeed I try to send a reply to everyone. I believe that it's my core responsibility to address questions that people might have after watching our tutorials. I'm surprised and extremely pleased to know that our effort did not go unnoticed! Thank you so much 😊💝💝
@TheramoreIsTheBomb-neverforget
@TheramoreIsTheBomb-neverforget 9 ай бұрын
Not working. Followed step by step -- FileNotFoundError: [Errno 2] No such file or directory: '/content/Image Sequence'
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
Please check if there is an error prior to this. This error is thrown when the script copies the rendered frames to your drive folder, which happens once the render is complete. But if the render fails for any reason, it fails in the copy step as well and then this error is shown. We need to see why the render did not work (often a file name mismatch remains the root cause).
@AhmedNassef
@AhmedNassef 9 ай бұрын
@@5MinutesBlender I get the same error message Mounted at /content/drive tar: /content/drive/My Drive/Colab-Render/blender-4.0.2-linux-x64.tar.xz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now /bin/bash: line 1: ./blender-4.0.2-linux-x64/blender: No such file or directory --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) in () 14 #Step-5: Copy output files from colab to drive 15 import shutil ---> 16 shutil.copytree("/content/Image Sequence", "/content/drive/My Drive/Colab-Render/Image Sequence", dirs_exist_ok=True) /usr/lib/python3.10/shutil.py in copytree(src, dst, symlinks, ignore, copy_function, ignore_dangling_symlinks, dirs_exist_ok) 555 """ 556 sys.audit("shutil.copytree", src, dst) --> 557 with os.scandir(src) as itr: 558 entries = list(itr) 559 return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, FileNotFoundError: [Errno 2] No such file or directory: '/content/Image Sequence'
@AhmedNassef
@AhmedNassef 9 ай бұрын
And on the side it explains the error The code you provided is failing because the folder /content/Image Sequence does not exist. This is likely because you did not complete Step-4 of the process, which involves rendering the animation on Colab. To fix this error, you can either re-run Step-4 or manually create the /content/Image Sequence folder. Once the folder exists, you can re-run the code and it should complete successfully.
@muhammadzaqialquraisyi2397
@muhammadzaqialquraisyi2397 8 ай бұрын
I just removed code in step 3 "#Step-3: Remove existing folder on colab, if any" and i created folder manually with Image Sequence inside "content" folder use file explorer on colab
@muhammadzaqialquraisyi2397
@muhammadzaqialquraisyi2397 8 ай бұрын
I just removed code in step 3 "#Step-3: Remove existing folder on colab, if any" and i created folder manually with Image Sequence inside "content" folder use file explorer on colab. and it's works for me
@APEPRODUCTION
@APEPRODUCTION 7 ай бұрын
Does it still work with render layers?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
It works as good as your pc/laptop while rendering, it only lacks a UI.
@rajesh-karmaker
@rajesh-karmaker 2 ай бұрын
Thanks. It works for me
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
Glad to know that! 😊💝💝
@sachinkurre1344
@sachinkurre1344 3 ай бұрын
I see this error Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount("/content/drive", force_remount=True). xz: (stdin): File format not recognized tar: Child returned status 1 tar: Error is not recoverable: exiting now /bin/bash: line 1: ./blender-3.6.13-linux-x64/blender: No such file or directory
@5MinutesBlender
@5MinutesBlender 3 ай бұрын
It seems that the system is not able to recognize the tar.xz file. Can you please check if the tar.xz file is correctly downloaded & then uploaded? If there is a broken download it can happen. I am not able to guess any other reason. The last error is a consequence of this first error only.
@FrancoGorza
@FrancoGorza 7 ай бұрын
I have the PRO version and they denied me access, it says it is due to "inappropriate activity" I only use it for rendering, not for mining, I tried with several accounts and the same problem, any solution?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
Some possible reasons I can think of: 1) You have used GPU backend without actually utilizing GPU for a prolonged time (running idle sessions or running tasks that do not utilize GPU) 2) You have VPN on the same machine where you have used Colab which signaled a parallel login from geographically separate places 3) Someone tried to get access to your account multiple times. I hope the ban will be lifted automatically, but since you are PRO subscriber, you have all rights to contact the support and ask for an explanation.
@blackbeast5870
@blackbeast5870 2 ай бұрын
pls help me it shows this i did everything right but still FileNotFoundError: [Errno 2] No such file or directory: '/content/Image Sequence'
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
We need to create a folder in Google drive called Image Sequence. Also, if there are multiple errors, look at the first error (which can cause further errors that are unrelated) - don't just go by the last error in the list.
@Orochi_Hunxho_Bieber_Ye
@Orochi_Hunxho_Bieber_Ye 2 ай бұрын
@@5MinutesBlender i've created this folder and also getting the same error
@5MinutesBlender
@5MinutesBlender 2 ай бұрын
@@Orochi_Hunxho_Bieber_Ye Can you please send the complete console output to me at 5minblender@gmail.com? I mean the entire stack trace you get on colab.
@54823
@54823 2 ай бұрын
@@5MinutesBlender if theres any solution, please share that cuz i have the same problem
@Kids-Story-qb7wu
@Kids-Story-qb7wu 6 ай бұрын
How to render blender ffmpeg vedio in google colab.?
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Same process, just change the output file format to ffmpeg before you save and upload the blend file to your Google drive.
@nartz5361
@nartz5361 10 ай бұрын
so it renders 10 frame cycles render in 35 seconds? that's insane
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
No, each frame in 35 seconds or so. That is also quite fast if you take into account the beauty of cycles output.
@locinolacolino1302
@locinolacolino1302 10 ай бұрын
@@5MinutesBlender Does it support the Optix kernel? The T4 gpu has RT cores that could be utilised.
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
@@locinolacolino1302 Honestly, I have no idea. Never used that, but I think it should work.
@_MenAreBrave
@_MenAreBrave 6 ай бұрын
I am facing an error my all directories are right but facing error in 4th step /bin/bash: line 1: ./blender-4.0.2-linux-x64/blender: No such file or directory --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) How to solve it
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
The error in this 4th step is due to some other error in its previous step. Don't look at the last line, check from the start of the log. We need to solve the very first error because any other error is just a consequence of the first error. Like in another case, the user did not use the correct name for the Blender installation file. So check any such error in the previous steps (or you can send your error log to us at 5minblender@gmail.com so that we can check it). Thanks!
@cihatfg
@cihatfg 10 ай бұрын
thank you!!
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
Most welcome 💝💝
@greenjaja263
@greenjaja263 Ай бұрын
when im rendering my cpu and tesla gpu are set in false, is that normal??
@5MinutesBlender
@5MinutesBlender Ай бұрын
No, the Tesla gpu should be enabled. If it is false it will take more time. What is the average rendering time you are getting for one frame?
@scmusicacademy1341
@scmusicacademy1341 5 ай бұрын
Excelent , tks
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Glad it helped! 😊❤️❤
@bamideleolaoluwa2201
@bamideleolaoluwa2201 8 ай бұрын
Can it render fluid simulations?
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
Yes of course, but you need to first bake the simulation. We are preparing another tutorial on how to bake fluid simulations on Google colab. With that, you can bake and then render. It will be published soon on this channel.
@bamideleolaoluwa2201
@bamideleolaoluwa2201 8 ай бұрын
@@5MinutesBlender okay. Thanks
@aswin_as321
@aswin_as321 6 ай бұрын
is it possible to render exr file from google colab ?
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Yes, absolutely. You only need to prepare your blend file accordingly (set the output file type as exr). It will generate the exr output in the output location set by you.
@aswin_as321
@aswin_as321 6 ай бұрын
@@5MinutesBlender Ok... but did't worked for me I try'd it
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Hey sorry for the late response. So does it work on your pc and the exact same file does not work on colab?
@memzee6643
@memzee6643 4 ай бұрын
it says that gpu is not being used even after i selected gpu in runtime and also in render device.pls help
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
I know you said that you changed it, but I will still insist you check if you have selected GPU in the render device under render properties. This same file has to be then saved and uploaded to Google Drive. Google Drive and Google Colab takes some time to sync up. So if you replace your file and immediately run Google Colab, it may actually use the older file. These are few things I suggest you to first check.
@onezein
@onezein 9 ай бұрын
Light sources are not rendered. The whole scene is dark. What to do????????
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
Are you using HDRI light? If so, you need to pack the HDRI file with your blend file, otherwise it won't get any light.
@onezein
@onezein 9 ай бұрын
No, I use simple light like plane, point and spot@@5MinutesBlender
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
​@@onezein Extremely sorry I missed this. I suggest you render one frame on your machine to ensure that everything works fine on your machine before you upload it to colab or google drive. Sometimes we accidentally hide the light in render or there maybe some other issues. Once it works fine on your machine, use the same setup on colab. If this does not resolve the issue, you can send your blend file to 5minblender@gmail.com so that we can verify it and suggest something.
@nkemjikawizzy
@nkemjikawizzy 6 ай бұрын
I HAVE A PROBLEM WITH THE CODE (IT HAS AN ERROR). MY BLENDER PROJECT FILE IS NOT FOUND. HOW DO I SOLVE THAT
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Often the actual error may be different from what you see. Since there are multiple lines of code, if there is an error at some point, it will result in more errors afterwards. Only the first error matters, rests will be solved if the first error is solved. Please send me the complete log of your notebook output (send to 5minblender@gmail.com) so that I can verify what the actual error is.
@rumblingtracks
@rumblingtracks 8 ай бұрын
Hi, im getting this error code at the end. "FileNotFoundError: [Errno 2] No such file or directory: '/content/Image Sequence'" I dont know why i think my file paths are ok.
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
Hi, it seems that no render was done in your case and hence the output folder called Image Sequence was not created. This is the lower part of the error msg. Please scroll up and check its previous msg to find out why the render was not done in the first place. The source of the error lies there. This error which you sent is just a logical consequence of the original error which we need to solve first.
@rumblingtracks
@rumblingtracks 8 ай бұрын
Thank you for the fast response i will check that message again when able. Far as i remember the error happens when it tries to move the finished render to the folder. @@5MinutesBlender
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
@@rumblingtracks On colab, you can open a file explorer (something like windows explorer but it is on colab), you can browse and view the files or even upload/download files directly from colab. So if you think the render finished successfully and it threw an error only at the last step while moving it to your drive, kindly open the file explorer and check if it actually created the image sequence folder or not. If not, you should check where it kept those render outputs. It's possible that you made a typo somewhere. Anyway, please let me know what you find out when you get time. All the best!
@rumblingtracks
@rumblingtracks 8 ай бұрын
Hello! Just tried again and its working now. Turned out i actually made a typo. Sems yesterday was too tired to find my error. Thank you for you help and fast response. This will help me allot :)@@5MinutesBlender
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
@@rumblingtracks Glad to know that you have successfully resolved the issue. Cheers!!
@trishoutofficial
@trishoutofficial 9 ай бұрын
I followed all the steps you did, but I always get the following error: Failed to create OptiX denoiser
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
Hmm. Never ran into this issue. Googling revolves that it may be related to a VRAM issue or an unstable beta version. Maybe you can use an older version of Blender like 3.6 or even 3.4 and check if that gives any better result.
@trishoutofficial
@trishoutofficial 9 ай бұрын
@@5MinutesBlender I tested another project with the latest version of Blender, and it worked. I think there might be an issue with my project. I tried following your suggestion to use an older version, but it didn't work; it showed the same error.
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
@@trishoutofficial Oh Ok, I see. Yes, it could then your project file related, maybe it is too big for the available resources, or maybe some other issues. I am happy to see that the code at least worked for another project 👍
@xxAsad
@xxAsad 5 ай бұрын
FileNotFoundError: [Errno 2] No such file or directory: '/content/Image Sequence' Getting this error even i have folder in drive too with same name
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Sorry for the late response. Often the actual error may be different from what you see. Since there are multiple lines of code, if there is an error at some point, it will result in more errors afterwards. Only the first error matters, rests will be solved if the first error is solved. Please send me the complete log of your notebook output (send to 5minblender@gmail.com) so that I can verify what the actual error is
@xxAsad
@xxAsad 4 ай бұрын
@@5MinutesBlender sure i will share it with you thanks mate
@mossdee
@mossdee 4 ай бұрын
Look for my answer above
@Cisco006
@Cisco006 4 ай бұрын
I got this error , FileNotFoundError: [Errno 2] No such file or directory: '/content/image seq' , How do i fix it?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Often the actual error may be different from what you see. Since there are multiple lines of code, if there is an error at some point, it will result in more errors afterwards. Only the first error matters, rests will be solved if the first error is solved. Please send me the complete log of your notebook output (send to 5minblender@gmail.com) so that I can verify what the actual error is and suggest you accordingly.
@mossdee
@mossdee 4 ай бұрын
@@5MinutesBlender In my case, I fixed it by adding the folder just above "Step-4" like this: output_dir = "/content/Image Sequence" if not os.path.exists(output_dir): os.makedirs(output_dir)
@mossdee
@mossdee 4 ай бұрын
Forgot to mention that for this to work you must add the following to the top of the script: import shutil import os # Import the os module
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
@@mossdee Yes, we can make those checks, it helps 👍
@sixmagicman2746
@sixmagicman2746 4 ай бұрын
Im having sam issues can you just post the code, in FULL, to save time. Thanks in advance. I tried to understand your comments but it's to convoluted for me to understand what you mean by 'you made a new folder'...
@Verma.Shivam_26
@Verma.Shivam_26 4 ай бұрын
it says no such file or directory for step 5. i renamed all things correctly
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Please send me the complete output. Often the error code you see at the end is not the correct one. If a previous step failed for some reason, it will raise more errors in the subsequent steps. We need to solve that original error to get rid of the rests. You can send me the output to 5minblender@gmail.com and continue this discussion there.
@MrRusCrack
@MrRusCrack 7 ай бұрын
for some reason i have bad lighting/shading, when i render just from blender, everything is ok who solve same problem?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
It may be caused by a missing HDRI. Are you using any HDRI lighting in your scene and did you pack the HDRI file along with your blend file before upload? Otherwise colab won't be able to find your HDRI and some important lighting will be missing.
@canoroncreative
@canoroncreative 5 ай бұрын
Thank you brother ❤
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Glad it helped! 😊❤️❤
@teaa12t47
@teaa12t47 9 ай бұрын
It's showing error when I run the script, could you please help? It says : FileNotFoundError Traceback (most recent call last) in () 14 #Step-5: Copy output files from colab to drive 15 import shutil ---> 16 shutil.copytree("/content/Image sequence", "/content/drive/My Drive/Colab-Render/Image sequence", dirs_exist_ok=True) /usr/lib/python3.10/shutil.py in copytree(src, dst, symlinks, ignore, copy_function, ignore_dangling_symlinks, dirs_exist_ok) 555 """ 556 sys.audit("shutil.copytree", src, dst) --> 557 with os.scandir(src) as itr: 558 entries = list(itr) 559 return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, FileNotFoundError: [Errno 2] No such file or directory: '/content/Image sequence'
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
Just back from my vacation, so this late response. It seems that no render was done in your case and hence the output folder was not created. This is the lower part of the error msg. Please scroll up and check its previous msg to find out why the render was not done in the first place. The source of the error lies there. This error which you sent is just a logical consequence of the original error.
@muhammadzaqialquraisyi2397
@muhammadzaqialquraisyi2397 8 ай бұрын
I just removed code in step 3 "#Step-3: Remove existing folder on colab, if any" and i created folder manually with Image Sequence inside "content" folder use file explorer on colab
@azura1774
@azura1774 4 ай бұрын
When I tried to upload the Linux file, it says unreadable
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Umm, probably you tried to accidentally open that file instead of upload because it won't give this error when you try to upload. Upload means simply copying that file from your machine to your Google drive. The other possibility is, you may have an antivirus that is trying to read through every file you upload or download. If that is the case, disable that program during this upload.
@caffeinyt7738
@caffeinyt7738 4 ай бұрын
does it work with eevee?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
We are using the headless mode (CLI or command line instruction) to run Blender on Colab. This mode does not support Eevee, it only works for Cycles. If you want to use Eevee, it is anyway equivalent to your own local machine. We have an advantage to use the Colab version if we are using the GPU for Cycles.
@MrCombat7
@MrCombat7 5 ай бұрын
Can i close the window? will it still keep rendering?
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
No, you need to keep the machine up, and the internet should be connected. Otherwise it will timeout since colab constantly checks if you are online. It is actually made for interactive work, we are using it for a batch processing 😂
@MrCombat7
@MrCombat7 5 ай бұрын
@@5MinutesBlender ah ok also I ran out of free units on my account can I connect multiple accounts to render faster?
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
You can, but use them very cautiously. I do use multiple accounts & I never got flagged. But it is risky, you need to time your jobs such that the system is never overused from your IP. The thumbrule is not to ever consume the entire bandwidth they provide to each account. Secondly, monitor the resource performance. If you think the network is busy (usually happens during peak hours in the day time), leave your job for a better time.
@MrCombat7
@MrCombat7 5 ай бұрын
@@5MinutesBlender ohok thank you
@muhammad30123
@muhammad30123 5 ай бұрын
If I bought google colab pro Increase speed render
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Yes, with a pro subscription you'll get access to more powerful GPUs (the free GPU T4 is lowest in the rank), so it will render faster. However, please note that the server load is also important. If many pro users are trying to render at the same time, the response time may get affected (but it is still expected to be far better than the free tire).
@stefano9718
@stefano9718 7 ай бұрын
MessageError: Error: credential propagation was unsuccessful
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
This seems to be some glitch related to Google authentication. Please try again, or use another account if possible.
@FFAccount-f1e
@FFAccount-f1e 6 ай бұрын
nice .
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Thank you 💝💝
@DivineDutz
@DivineDutz 6 ай бұрын
does this still work with blender 4.1 ?
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Yes, very much. It works with any version of Blender. You need to use the correct tar file name and the correct blender version in the notebook code (for any specific version you download). Everything else remains the same.
@DivineDutz
@DivineDutz 6 ай бұрын
@@5MinutesBlender thank you, I did it and it still work
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
@@DivineDutz Good to know that it is working!
@PavanScienceYoutube
@PavanScienceYoutube 5 ай бұрын
😮 but what if I have windows instead of linux
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
No problem. You can have any operating system on your machine, Google colab runs on Linux, so you need to use the Linux version in colab. You can prepare your blend file on windows as usual, and upload it to your Google drive. It will work smoothly on colab since Blender is a platform independent software.
@gracesonfernandes6008
@gracesonfernandes6008 6 ай бұрын
it didnt render the texture
@5MinutesBlender
@5MinutesBlender 6 ай бұрын
Please check if you packed all the texture files before you uploaded blend file to your Google drive.
@willtube2
@willtube2 7 ай бұрын
Send me an email with the error, can you please help?
@5MinutesBlender
@5MinutesBlender 7 ай бұрын
I have responded to all email queries, did you send an email?
@fulan0537
@fulan0537 4 ай бұрын
animation?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
Yes you can render any animation using this method.
@fulan0537
@fulan0537 4 ай бұрын
@@5MinutesBlender blender 4.1?
@5MinutesBlender
@5MinutesBlender 4 ай бұрын
@@fulan0537 Yep, works for 4.1 as well.
@pdhle_mere_bhai
@pdhle_mere_bhai 10 ай бұрын
very slow rendering
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
Please check if it is actually using Colab GPU or not. It renders slow when it is not utilizing Colab GPU for any reason or if you have unknowingly used a very high sample value.
@koza4825
@koza4825 10 ай бұрын
Now it's not working without colab pro((((@@5MinutesBlender
@5MinutesBlender
@5MinutesBlender 10 ай бұрын
@@koza4825 I checked it today and did not find any issues. What error do you see? As we cautioned in the tutorial, if you overuse it, Google will restrict your access. Leave it for a couple of days and you should get back the access I hope as the counter resets.
@3dstockroom
@3dstockroom 9 ай бұрын
sooooo bad you wasted my time, its only images not video animation
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
No it's not just for an image file. In the world of animation, a video is always treated as a collection of images, it is called an image sequence. The industry standard is to deal everything as an image sequence instead of a video. A video is only produced at the very end of the production process, rendering is never done as a video, it is almost always done as an image sequence. So here we have discussed how to generate that image sequence on colab. Later you'll just convert that image sequence into your final video either within Blender or in any other video editing software. That is the norm in use.
@3dstockroom
@3dstockroom 9 ай бұрын
@@5MinutesBlender ok thnx but its not working.. showing error
@5MinutesBlender
@5MinutesBlender 9 ай бұрын
What is the error? Please send me the error screenshot at 5minblender@gmail.com so that I can check it.
@콩글이삼
@콩글이삼 5 ай бұрын
Thank you so much!!!! I love you Bro~
@5MinutesBlender
@5MinutesBlender 5 ай бұрын
Glad it helped! 😊❤️❤️
@AlinaHaritonova-e4r
@AlinaHaritonova-e4r Ай бұрын
WowThank you so much
@5MinutesBlender
@5MinutesBlender Ай бұрын
Glad you liked this tutorial! 😊💝💝
@convonation4644
@convonation4644 8 ай бұрын
can we render exr images ?
@5MinutesBlender
@5MinutesBlender 8 ай бұрын
Yes definitely. In the output settings, select the output file format as OpenEXR. Needless to say, you have to make this change before you upload your blend file to colab or your drive.
@MrRusCrack
@MrRusCrack 7 ай бұрын
anyway i got PNG's, maybe need to change script? there is "PNG" in step four @@5MinutesBlender
Valve CONFIRMS New Hardware
18:35
NerdNest
Рет қаралды 6 М.
Mom had to stand up for the whole family!❤️😍😁
00:39
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 6 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,3 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
TheSoul Music Family
Рет қаралды 12 МЛН
Gothic 360 Scenic (VR Compatible)
4:51
Horror Nights Archives
Рет қаралды 8
Speed Up Your Blender Renders with Free Google Colab
13:25
Motion Dreams
Рет қаралды 23 М.
CUDA Programming on Python
21:34
Ahmad Bazzi
Рет қаралды 1,1 МЛН
300% FASTER Renders in Blender Cycles with AI
9:21
Kaizen
Рет қаралды 228 М.
Render HUGE Scenes in Blender for FREE
8:58
RenderRides
Рет қаралды 101 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 652 М.
The Best Cloud GPU Services for Blender
19:11
Micro Singularity
Рет қаралды 17 М.
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 1,1 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39