LoginSignup
2
2

GoogleColaboでzipファイル解凍

Posted at

はじめに

機械学習コンペでデータがzipファイルで与えられることありますよね。
GoogleColaboでの解凍方法の備忘録です。

解凍方法

ローカルのzipファイル

①GoogleColaboにzipファイルをアップロード
②zipファイルのパスを右クリックでコピー
!unzipで解凍

!unzip '/content/hoge.zip'

URLのzipファイル

①zipファイルのURLをコピー
!wgetでGoogleColaboにコピー
③zipファイルのパスを右クリックでコピー
!unzipで解凍

!wget 'https://fuga'

!unzip '/content/hoge.zip'

おわりに

以上です。良い機械学習ライフを!

次の記事でお会いしましょう('ω')ノ

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2