Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google_collab_code_to_download_all_images #79

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 104 additions & 0 deletions google_collab_mkbsd_download.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"toc_visible": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "8YE1tnux0nI8",
"outputId": "5b5062f7-3ad2-4e58-f15e-1e238c3f93ea"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Cloning into 'mkbsd'...\n",
"remote: Enumerating objects: 31, done.\u001b[K\n",
"remote: Counting objects: 100% (17/17), done.\u001b[K\n",
"remote: Compressing objects: 100% (8/8), done.\u001b[K\n",
"remote: Total 31 (delta 11), reused 9 (delta 9), pack-reused 14 (from 1)\u001b[K\n",
"Receiving objects: 100% (31/31), 7.09 KiB | 3.54 MiB/s, done.\n",
"Resolving deltas: 100% (11/11), done.\n"
]
}
],
"source": [
"!git clone https://github.com/nadimkobeissi/mkbsd.git\n"
]
},
{
"cell_type": "code",
"source": [
"cd mkbsd"
],
"metadata": {
"id": "7-PZnlcc0qX9"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"pip install aiohttp"
],
"metadata": {
"id": "QIkX3D0x0tZK"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!python mkbsd.py"
],
"metadata": {
"id": "m445exQS0vfo"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!zip -r folder_name.zip downloads/"
],
"metadata": {
"id": "y-U0wYP40yr6"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"from google.colab import files\n",
"files.download('folder_name.zip')"
],
"metadata": {
"id": "H8KDt3u30zpF"
},
"execution_count": null,
"outputs": []
}
]
}