Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Google Colabを触ってみた/Google Colab hands on
Search
haru2036
March 24, 2020
Programming
0
1.2k
Google Colabを触ってみた/Google Colab hands on
haru2036
March 24, 2020
Tweet
Share
More Decks by haru2036
See All by haru2036
チームメンバー爆増!その時に準備したこととその後の成長
haru2036
0
40
VRChatでLT会やりたかった話
haru2036
0
230
神(運営)にお願いして世界の崩壊を免れた話 / How to report a bug in VRChat
haru2036
1
1.4k
締め切りカウントダウンポスターを作った話 / Deadline timer in VRChat
haru2036
0
1.3k
ケチケチGKE 入門編
haru2036
1
1.3k
LTワールドのつくりかた
haru2036
0
2.5k
光るスカート作った
haru2036
0
150
Other Decks in Programming
See All in Programming
CSC307 Lecture 10
javiergs
PRO
1
670
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
Gemini for developers
meteatamel
0
110
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
630
CSC307 Lecture 07
javiergs
PRO
1
560
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
470
AI時代の認知負荷との向き合い方
optfit
0
170
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
atmaCup #23でAIコーディングを活用した話
ml_bear
2
230
Fluid Templating in TYPO3 14
s2b
0
130
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.7k
CSC307 Lecture 03
javiergs
PRO
1
490
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
190
How STYLIGHT went responsive
nonsquared
100
6k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Navigating Team Friction
lara
192
16k
Design in an AI World
tapps
0
150
Building the Perfect Custom Keyboard
takai
2
690
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Transcript
Google Colab 触ってみた はる VRC-LT #7
自己紹介 • はる(バーチャル一般美少女) • VRChatでは主にこのイベントやったりだべってる人
今回のあらすじ • 機械学習とか統計とかあんまりわからん人が • Google Colabを • 雑に触ってみた
Google Colab is 何 • Jupyter的なやつをGoogleのインフラで使える • GPUやらTPUも触れる • 実験用途向けに無償で使える(!)
きょうの目標 • とりあえず手元にあるデータ使ってなにかしたい ◦ 800日ちょっとくらいの睡眠ログ ◦ 時系列データだし予測でもしてみるか…… • fbprophetをお手軽に試してみる
はじめの一歩 • Colabを開いてファイル > ノートブックを新規作成 • これだけでnumpyとかpandas,TensorFlowとか使える • GPU, TPUの有効化もほぼワンタッチ
(編集 > ノートブックの設定)
データのインポート • Google Driveがそのままマウントできる • そのまま開いて読み込み from google.colab import drive
drive.mount('/content/gdrive') with open("/content/gdrive/My Drive/Colab Notebooks/sleeps.json") as f: sleeps = json.loads(f.read()) ...
雑に実行 • そのまま雑にやったら動いた ◦ (元データがおかしい気もするけど……) • 動かしただけ ◦ 精度やらなんやらとか以前に使い方わかってない
まとめ&雑感 • おためししてみる分にはとても便利 ◦ ローカルマシンでの環境構築不要 ◦ 高性能なGPUが使える ◦ 無償 ◦
Google Driveとの通信も早い • 諸々の制限はある ◦ インスタンスの最長実行時間は12時間 ◦ セッション切れてから90分でも強制終了される ◦ 実験用途向けだし……
おしまい Google Colabは無料