์ฝ˜ํ…์ธ ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ

Google Colab์œผ๋กœ YOLOv8 ํ”„๋กœ์ ํŠธ ๊ฐ€์†ํ™”ํ•˜๊ธฐ

Many developers lack the powerful computing resources needed to build deep learning models. Acquiring high-end hardware or renting a decent GPU can be expensive. Google Colab is a great solution to this. It's a browser-based platform that allows you to work with large datasets, develop complex models, and share your work with others without a huge cost.

You can use Google Colab to work on projects related to Ultralytics YOLOv8 models. Google Colab's user-friendly environment is well suited for efficient model development and experimentation. Let's learn more about Google Colab, its key features, and how you can use it to train YOLOv8 models.

Google ๊ณต๋™ ์ž‘์—…์‹ค

ํ”ํžˆ ๊ตฌ๊ธ€ ์ฝœ๋žฉ์œผ๋กœ ์•Œ๋ ค์ง„ ๊ตฌ๊ธ€ ์ฝœ๋ผ๋ณด๋žฉ์€ 2017๋…„์— ๊ตฌ๊ธ€ ๋ฆฌ์„œ์น˜์—์„œ ๊ฐœ๋ฐœํ–ˆ์Šต๋‹ˆ๋‹ค. ๋ฌด๋ฃŒ ์˜จ๋ผ์ธ ํด๋ผ์šฐ๋“œ ๊ธฐ๋ฐ˜ ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ ํ™˜๊ฒฝ์œผ๋กœ, CPU, GPU, TPU์—์„œ ๋จธ์‹ ๋Ÿฌ๋‹ ๋ฐ ๋”ฅ๋Ÿฌ๋‹ ๋ชจ๋ธ์„ ํ›ˆ๋ จํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Google Colab์„ ๊ฐœ๋ฐœํ•œ ๋™๊ธฐ๋Š” AI ๊ธฐ์ˆ ๊ณผ ๊ต์œก ๋„๊ตฌ๋ฅผ ๋ฐœ์ „์‹œํ‚ค๊ณ  ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค ์‚ฌ์šฉ์„ ์žฅ๋ คํ•˜๋ ค๋Š” Google์˜ ๊ด‘๋ฒ”์œ„ํ•œ ๋ชฉํ‘œ์˜€์Šต๋‹ˆ๋‹ค.

You can use Google Colab regardless of the specifications and configurations of your local computer. All you need is a Google account and a web browser, and you're good to go.

๊ต์œก YOLOv8 Google ๊ณต๋™ ์ž‘์—…์‹ค ์‚ฌ์šฉ

Google Colab์—์„œ YOLOv8 ๋ชจ๋ธ์„ ํ›ˆ๋ จํ•˜๋Š” ๊ฒƒ์€ ๋งค์šฐ ๊ฐ„๋‹จํ•ฉ๋‹ˆ๋‹ค. ํ†ตํ•ฉ ๋•๋ถ„์— Google Colab YOLOv8 ๋…ธํŠธ๋ถ์— ์•ก์„ธ์Šคํ•˜์—ฌ ์ฆ‰์‹œ ๋ชจ๋ธ ํŠธ๋ ˆ์ด๋‹์„ ์‹œ์ž‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ชจ๋ธ ํŠธ๋ ˆ์ด๋‹ ํ”„๋กœ์„ธ์Šค ๋ฐ ๋ชจ๋ฒ” ์‚ฌ๋ก€์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ YOLOv8 ๋ชจ๋ธ ํŠธ๋ ˆ์ด๋‹ ๊ฐ€์ด๋“œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

Google ๊ณ„์ •์— ๋กœ๊ทธ์ธํ•˜๊ณ  ๋…ธํŠธ๋ถ์˜ ์…€์„ ์‹คํ–‰ํ•˜์—ฌ ๋ชจ๋ธ์„ ํ•™์Šตํ•˜์„ธ์š”.

๊ต์œก YOLOv8 Google Colab ์‚ฌ์šฉ

๋‹ˆ์ฝœ๋ผ์ด์™€ ํ•จ๊ป˜ YouTube์—์„œ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฐ์ดํ„ฐ๋กœ YOLOv8 ๋ชจ๋ธ์„ ํ›ˆ๋ จํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด์„ธ์š”. ์•„๋ž˜ ๊ฐ€์ด๋“œ๋ฅผ ํ™•์ธํ•˜์„ธ์š”.



Watch: Google Colab์—์„œ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฐ์ดํ„ฐ ์„ธํŠธ์— ๋Œ€ํ•ด Ultralytics YOLOv8 ๋ชจ๋ธ์„ ํ›ˆ๋ จํ•˜๋Š” ๋ฐฉ๋ฒ• | ์—ํ”ผ์†Œ๋“œ 3

Google Colab์œผ๋กœ ์ž‘์—…ํ•  ๋•Œ ์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ

When working with Google Colab, you might have a few common questions. Let's answer them.

Q: Why does my Google Colab session timeout?
A: Google Colab sessions can time out due to inactivity, especially for free users who have a limited session duration.

์งˆ๋ฌธ: Google Colab์—์„œ ์„ธ์…˜ ์‹œ๊ฐ„์„ ๋Š˜๋ฆด ์ˆ˜ ์žˆ๋‚˜์š”?
A: ๋ฌด๋ฃŒ ์‚ฌ์šฉ์ž๋Š” ์„ธ์…˜ ์‹œ๊ฐ„์ด ์ œํ•œ๋˜์–ด ์žˆ์ง€๋งŒ Google Colab Pro๋Š” ์„ธ์…˜ ์‹œ๊ฐ„์„ ์—ฐ์žฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์งˆ๋ฌธ: ์„ธ์…˜์ด ์˜ˆ๊ธฐ์น˜ ์•Š๊ฒŒ ์ข…๋ฃŒ๋˜๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด์•ผ ํ•˜๋‚˜์š”?
A: ์ €์žฅ๋˜์ง€ ์•Š์€ ์ง„ํ–‰ ์ƒํ™ฉ์„ ์žƒ์ง€ ์•Š๋„๋ก ์ •๊ธฐ์ ์œผ๋กœ Google ๋“œ๋ผ์ด๋ธŒ ๋˜๋Š” GitHub์— ์ž‘์—…์„ ์ €์žฅํ•˜์„ธ์š”.

์งˆ๋ฌธ: ์„ธ์…˜ ์ƒํƒœ์™€ ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉ๋Ÿ‰์€ ์–ด๋–ป๊ฒŒ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‚˜์š”?
A: Colab์€ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ ๋ฆฌ์†Œ์Šค ๋ชจ๋‹ˆํ„ฐ๋ง์„ ์œ„ํ•œ 'RAM ์‚ฌ์šฉ๋Ÿ‰' ๋ฐ '๋””์Šคํฌ ์‚ฌ์šฉ๋Ÿ‰' ๋ฉ”ํŠธ๋ฆญ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

์งˆ๋ฌธ: ์—ฌ๋Ÿฌ ๊ฐœ์˜ Colab ์„ธ์…˜์„ ๋™์‹œ์— ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋‚˜์š”?
A: ์˜ˆ. ํ•˜์ง€๋งŒ ์„ฑ๋Šฅ ๋ฌธ์ œ๋ฅผ ๋ฐฉ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉ์— ์ฃผ์˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

์งˆ๋ฌธ: Google Colab์—๋Š” GPU ์•ก์„ธ์Šค ์ œํ•œ์ด ์žˆ๋‚˜์š”?
A: ์˜ˆ, ๋ฌด๋ฃŒ GPU ์•ก์„ธ์Šค์—๋Š” ์ œํ•œ์ด ์žˆ์ง€๋งŒ Google Colab Pro๋Š” ๋” ๋งŽ์€ ์‚ฌ์šฉ ์˜ต์…˜์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Google Colab์˜ ์ฃผ์š” ๊ธฐ๋Šฅ

์ด์ œ ๋จธ์‹  ๋Ÿฌ๋‹ ํ”„๋กœ์ ํŠธ๋ฅผ ์œ„ํ•œ ํ”Œ๋žซํผ์œผ๋กœ Google Colab์˜ ๋›ฐ์–ด๋‚œ ๊ธฐ๋Šฅ ๋ช‡ ๊ฐ€์ง€๋ฅผ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค:

  • ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์›: Google Colab์—๋Š” ๋ฐ์ดํ„ฐ ๋ถ„์„ ๋ฐ ๋จธ์‹  ๋Ÿฌ๋‹์„ ์œ„ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ์‚ฌ์ „ ์„ค์น˜๋˜์–ด ์žˆ์œผ๋ฉฐ ํ•„์š”์— ๋”ฐ๋ผ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ถ”๊ฐ€๋กœ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ๋Œ€ํ™”ํ˜• ์ฐจํŠธ์™€ ์‹œ๊ฐํ™”๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ๋‹ค์–‘ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ํ•˜๋“œ์›จ์–ด ๋ฆฌ์†Œ์Šค: ์‚ฌ์šฉ์ž๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ๋Ÿฐํƒ€์ž„ ์„ค์ •์„ ์ˆ˜์ •ํ•˜์—ฌ ๋‹ค์–‘ํ•œ ํ•˜๋“œ์›จ์–ด ์˜ต์…˜ ๊ฐ„์— ์ „ํ™˜ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. Google Colab์€ ๋จธ์‹  ๋Ÿฌ๋‹ ์ž‘์—…์„ ์œ„ํ•ด ํŠน๋ณ„ํžˆ ์„ค๊ณ„๋œ ํŠน์ˆ˜ ํšŒ๋กœ์ธ Tesla K80 GPU ๋ฐ TPU์™€ ๊ฐ™์€ ๊ณ ๊ธ‰ ํ•˜๋“œ์›จ์–ด์— ๋Œ€ํ•œ ์•ก์„ธ์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

๋Ÿฐํƒ€์ž„ ์„ค์ •

  • ํ˜‘์—…: Google Colab์„ ์‚ฌ์šฉํ•˜๋ฉด ๋‹ค๋ฅธ ๊ฐœ๋ฐœ์ž์™€ ์‰ฝ๊ฒŒ ๊ณต๋™ ์ž‘์—…ํ•˜๊ณ  ํ˜‘์—…ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ๋ถ์„ ๋‹ค๋ฅธ ์‚ฌ๋žŒ๊ณผ ์‰ฝ๊ฒŒ ๊ณต์œ ํ•˜๊ณ  ์‹ค์‹œ๊ฐ„์œผ๋กœ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • ์‚ฌ์šฉ์ž ์ง€์ • ํ™˜๊ฒฝ: ์‚ฌ์šฉ์ž๋Š” ๋…ธํŠธ๋ถ์—์„œ ์ง์ ‘ ์ข…์† ์š”์†Œ๋ฅผ ์„ค์น˜ํ•˜๊ณ , ์‹œ์Šคํ…œ์„ ๊ตฌ์„ฑํ•˜๊ณ , ์…ธ ๋ช…๋ น์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • ๊ต์œก ๋ฆฌ์†Œ์Šค: Google Colab์€ ์‚ฌ์šฉ์ž๊ฐ€ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ๋ฐฐ์šฐ๊ณ  ํƒ์ƒ‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋‹ค์–‘ํ•œ ํŠœํ† ๋ฆฌ์–ผ๊ณผ ์˜ˆ์ œ ๋…ธํŠธ๋ถ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

YOLOv8 ํ”„๋กœ์ ํŠธ์— Google Colab์„ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ์ด์œ ๋Š” ๋ฌด์—‡์ธ๊ฐ€์š”?

YOLOv8 ๋ชจ๋ธ์„ ๊ต์œกํ•˜๊ณ  ํ‰๊ฐ€ํ•˜๋Š” ๋ฐ๋Š” ๋งŽ์€ ์˜ต์…˜์ด ์žˆ๋Š”๋ฐ, Google Colab๊ณผ์˜ ํ†ตํ•ฉ์ด ํŠน๋ณ„ํ•œ ์ด์œ ๋Š” ๋ฌด์—‡์ผ๊นŒ์š”? ์ด ํ†ตํ•ฉ์˜ ์žฅ์ ์„ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค:

  • ์ œ๋กœ ์…‹์—…: Colab์€ ํด๋ผ์šฐ๋“œ์—์„œ ์‹คํ–‰๋˜๋ฏ€๋กœ ์‚ฌ์šฉ์ž๋Š” ๋ณต์žกํ•œ ํ™˜๊ฒฝ ์„ค์ • ์—†์ด๋„ ์ฆ‰์‹œ ๋ชจ๋ธ ํ•™์Šต์„ ์‹œ์ž‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ณ„์ •์„ ์ƒ์„ฑํ•˜๊ณ  ์ฝ”๋”ฉ์„ ์‹œ์ž‘ํ•˜๊ธฐ๋งŒ ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

  • ์–‘์‹ ์ง€์›: ์‚ฌ์šฉ์ž๊ฐ€ ๋งค๊ฐœ๋ณ€์ˆ˜ ์ž…๋ ฅ์„ ์œ„ํ•œ ์–‘์‹์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ์–ด ๋‹ค์–‘ํ•œ ๊ฐ’์„ ์‰ฝ๊ฒŒ ์‹คํ—˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Google ๋“œ๋ผ์ด๋ธŒ์™€ ํ†ตํ•ฉ: Colab์€ Google ๋“œ๋ผ์ด๋ธŒ์™€ ์›ํ™œํ•˜๊ฒŒ ํ†ตํ•ฉ๋˜์–ด ๋ฐ์ดํ„ฐ ์ €์žฅ, ์•ก์„ธ์Šค ๋ฐ ๊ด€๋ฆฌ๊ฐ€ ๊ฐ„ํŽธํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ ์„ธํŠธ์™€ ๋ชจ๋ธ์„ Google ๋“œ๋ผ์ด๋ธŒ์—์„œ ์ง์ ‘ ์ €์žฅํ•˜๊ณ  ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Markdown Support: You can use Markdown format for enhanced documentation within notebooks.

  • ์˜ˆ์•ฝ ์‹คํ–‰: ๊ฐœ๋ฐœ์ž๋Š” ๋…ธํŠธ๋ถ์ด ์ง€์ •๋œ ์‹œ๊ฐ„์— ์ž๋™์œผ๋กœ ์‹คํ–‰๋˜๋„๋ก ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ ๋ฐ ์œ„์ ฏ: Google Colab์—์„œ๋Š” ํƒ€์‚ฌ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ๊ณผ ๋Œ€ํ™”ํ˜• ์œ„์ ฏ์„ ํ†ตํ•ด ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Google Colab์— ๋Œ€ํ•ด ๊ณ„์† ์•Œ์•„๋ณด๊ธฐ

If you'd like to dive deeper into Google Colab, here are a few resources to guide you.

์š”์•ฝ

We've discussed how you can easily experiment with Ultralytics YOLOv8 models on Google Colab. You can use Google Colab to train and evaluate your models on GPUs and TPUs with a few clicks.

For more details, visit Google Colab's FAQ page.

๋” ๋งŽ์€ YOLOv8 ํ†ตํ•ฉ์— ๊ด€์‹ฌ์ด ์žˆ์œผ์‹ ๊ฐ€์š”? Ultralytics ํ†ตํ•ฉ ๊ฐ€์ด๋“œ ํŽ˜์ด์ง€๋ฅผ ๋ฐฉ๋ฌธํ•˜์—ฌ ๋จธ์‹ ๋Ÿฌ๋‹ ํ”„๋กœ์ ํŠธ๋ฅผ ๊ฐœ์„ ํ•  ์ˆ˜ ์žˆ๋Š” ์ถ”๊ฐ€ ๋„๊ตฌ์™€ ๊ธฐ๋Šฅ์„ ์‚ดํŽด๋ณด์„ธ์š”.



Created 2024-04-27, Updated 2024-06-02
Authors: glenn-jocher (4), RizwanMunawar (1), abirami-vina (1)

๋Œ“๊ธ€