This is a visual, step-by-step guide on how to set up ImageAI using Google's free service, Google Collab. This guide hopes to lower the barrier of entry and further democratise this technology for the general public.
Step 1: Go to Google Collab (https://colab.research.google.com/)
- You'll have to set up a Google account if you haven't already
- Within Google Collab, navigate to the 'Github' tab
- Paste the following url into the text field:
https://github.com/slooi/ImageAI-Setup-Guide/blob/main/ImageAISetup.ipynb
- Then press your enter key
- Click on the newly appeared 'ImageAISetup.ipynb'
newNotebook.mp4
- Navigate to the 'Edit' button located at the top-left
- Then select 'Notebook settings'
- Under 'Hardware accelerator', select the 'GPU' option
- Click 'Save'
gpu.mp4
- Run the first block of code by clicking the play button located on the left side of the code block (note this step will take between 4-7 minutes. Try running the block of code again if it doesn't finish within that time frame)
- You will get a warning from google. Click 'Run anyway' to continue.
- Run the second block of code
- After waiting for 1-2 minutes, a link ending with
.trycloudflare.com
should appear. Click it to navigate to your own instance of ImageAI
- You should be able to generate 50+ images before reaching the limit of the free tier. Wait 1-3 days for it to reset.
This guide is a streamlined version of https://github.com/JingShing/ImageAI-colab-ver
Huge thanks to: JingShing, Anonymous, 炼铜术士, 神楽坂早苗️, Jonathan, 咕 咕, 猫又逆变器, Gaein nidb