줄여서 'Colab'이라고도 하는 Colaboratory는 Google 리서치팀에서 개발한 제품입니다. Colab을 사용하면 누구나 브라우저를 통해 임의의 Python 코드를 작성하고 실행할 수 있습니다. Colab은 특히 머신러닝, 데이터 분석, 교육에 적합합니다. 더 기술적으로 설명하면 Colab은 호스팅된 Jupyter 노트북 서비스로, 설정하지 않고 사용 가능하며 GPU를 포함한 컴퓨팅 리소스를 무료로 사용할 수 있습니다.
정말 무료인가요?link
예. Colab은 무료로 사용할 수 있습니다.
믿기 어려울 정도로 좋아 보이는데요. 어떤 제한사항이 있나요?link
Colab 리소스는 보장되거나 무제한으로 제공되지는 않으며 사용량 한도가 달라지기도 합니다. 이런 방식으로 운영해야 Colab에서 리소스를 무료로 제공할 수 있기 때문입니다. 자세한 내용은리소스 한도를 참고하세요.
향상된 리소스를 더 안정적으로 사용하는 데 관심이 있다면Colab Pro가 적합할 수 있습니다.
Colab 리소스는 상호작용 사용 사례에 우선 할당됩니다. 일괄 연산, 다른 사용자에게 부정적인 영향을 줄 수 있는 작업, 정책을 우회하는 작업 등은 금지됩니다. 다음은 Colab 런타임에서 허용되지 않는 사항입니다.
Colab과의 상호작용 연산과 관련이 없는 파일 호스팅, 미디어 게재 또는 기타 웹 서비스 제공
Hello! I will show you how to useGoogle Colab,Google’s free cloud serviceforAI developers. With Colab, you can develop deep learning applications on theGPU for free.
Thanks to KDnuggets!
I am happy to announce that this blog post was selected as KDnuggets Silver Blog for February 2018! Read this onKDnuggets.
What is Google Colab?
Google Colab is a free cloud service and now it supports free GPU!
You can;
improve yourPythonprogramming language coding skills.
develop deep learning applications using popular libraries such asKeras,TensorFlow,PyTorch,andOpenCV.
The most important feature that distinguishes Colab from other free cloud services is;Colabprovides GPU and is totally free.
Detailed information about the service can be found on thefaqpage.
Getting Google Colab Ready to Use
Creating Folder on Google Drive
SinceColabis working on your ownGoogle Drive, we first need to specify the folder we’ll work. I created a folder named “app” on myGoogle Drive. Of course, you can use a different name or choose the defaultColab Notebooksfolder instead ofapp folder.
I created an empty “app” folder
Creating New Colab Notebook
Create a new notebook viaRight click > More > Colaboratory
Right click > More > Colaboratory
Renamenotebook by means of clicking the file name.
Setting Free GPU
It is so simple to alter default hardware(CPU to GPU or vice versa); just followEdit > Notebook settingsorRuntime>Change runtime typeandselect GPUasHardware accelerator.
It works as expected :) If you do not knowPythonwhich is themost popular programming language for AI, I would recommend this simple and clean tutorial.
Running or Importing .py Files with Google Colab
Run these codes first in order to install the necessary libraries and perform authorization.
When you run the code above, you should see a result like this:
Clickthe link,copyverification code andpasteit to text box.
After completion of the authorization process, you should see this:
Now you can reach you Google Drive with:
installKeras:
!pip install -q keras
uploadmnist_cnn.pyfile toappfolder which is located on yourGoogle Drive.
mnist_cnn.pyfile
run the code below to train a simple convnet on theMNIST dataset.
어떤 문제에 부딪치면 나는 미리 남보다 시간을 두세 곱절 더 투자할 각오를 한다. 그것이야말로 평범한 두뇌를 가진 내가 할 수 있는 최선의 방법이다. - 안철수, 영혼이 있는 승부
동양고전 大學에서 증자는 기천(己千)정신을 강조합니다. ‘남이 한 번 해서 잘하게 되면 자기는 백 번을 하고, 남이 열 번 해서 잘 하게 되면 자기는 천 번을 한다. 어떤 일에서라도 이 방법을 잘 해낸다면 아무리 우매한 자라도 반드시 총명해질 것이고 아무리 유약한 자라도 반드시 굳세어져서 일을 해낼 수 있을 것이다.’는 기천(己千)정신으로 무장한다면 이 세상에서 못해낼 일은 없을 것입니다.
뇌를 바꾸고 싶다면 어떻게 해야 할까? 혹자는 뇌에 전자 칩을 심거나 컴퓨터를 연결시키는 방법을 꿈꾸기도 하고, 혹자는 뇌의 능력치를 높여주는 약물에 기대를 걸기도 한다. 하지만 기계나 약물을 사용하지 않고도 뇌를 업그레이드하는 근본적인 방법이 존재한다. 바로 '명상'이다.
- 대니얼 골먼, 리처드 데이비드슨의《명상하는 뇌》중에서 -
* '명상이 뇌를 바꾼다'라는 것은 이미 여러 임상실험과 과학으로 입증돼 있습니다. 뇌를 바꾼다는 것은 뇌를 업그레이드한다는 뜻만이 아닙니다. 발상의 전환, 곧 생각하는 방식을 바꾸고, 삶의 습관까지 바꾼다는 뜻이 포함되어 있습니다. 한마디로 뇌를 '똑똑하게' 해주는 것입니다. 뇌를 똑똑하게 길들이는 것, 그것이 바로 '명상'입니다.