Skip to content

Instantly share code, notes, and snippets.

@ryoppippi
Created April 14, 2019 15:57
Show Gist options
  • Select an option

  • Save ryoppippi/45fad9ba7970a6d7a9c4a3585baef5a0 to your computer and use it in GitHub Desktop.

Select an option

Save ryoppippi/45fad9ba7970a6d7a9c4a3585baef5a0 to your computer and use it in GitHub Desktop.
aria_test.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "aria_test.ipynb",
"version": "0.3.2",
"provenance": [],
"toc_visible": true,
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"accelerator": "GPU"
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/ryoppippi/45fad9ba7970a6d7a9c4a3585baef5a0/aria_test.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"metadata": {
"id": "uwHtF0DFdi27",
"colab_type": "text"
},
"cell_type": "markdown",
"source": [
"# [Dataset](https://magenta.tensorflow.org/datasets/nsynth#files)"
]
},
{
"metadata": {
"id": "g1wQLJHhhLDC",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"!apt install aria2"
],
"execution_count": 0,
"outputs": []
},
{
"metadata": {
"id": "bWlBWZUZcFFz",
"colab_type": "code",
"outputId": "c05fd826-3bc5-47dd-c4ef-35e480c403b5",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1037
}
},
"cell_type": "code",
"source": [
"!aria2c -x16 http://download.magenta.tensorflow.org/datasets/nsynth/nsynth-train.tfrecord"
],
"execution_count": 10,
"outputs": [
{
"output_type": "stream",
"text": [
"\n",
"04/14 15:48:35 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
" *** Download Progress Summary as of Sun Apr 14 15:49:36 2019 *** \n",
"=\n",
"[#0f8bf6 8.5GiB/69GiB(12%) CN:5 DL:143MiB ETA:7m10s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:50:37 2019 *** \n",
"=\n",
"[#0f8bf6 17GiB/69GiB(24%) CN:5 DL:142MiB ETA:6m13s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:51:37 2019 *** \n",
"=\n",
"[#0f8bf6 25GiB/69GiB(36%) CN:5 DL:142MiB ETA:5m12s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:52:38 2019 *** \n",
"=\n",
"[#0f8bf6 33GiB/69GiB(49%) CN:5 DL:144MiB ETA:4m8s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:53:38 2019 *** \n",
"=\n",
"[#0f8bf6 42GiB/69GiB(61%) CN:5 DL:142MiB ETA:3m12s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:54:39 2019 *** \n",
"=\n",
"[#0f8bf6 50GiB/69GiB(73%) CN:5 DL:141MiB ETA:2m11s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:55:40 2019 *** \n",
"=\n",
"[#0f8bf6 59GiB/69GiB(85%) CN:5 DL:144MiB ETA:1m9s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
" *** Download Progress Summary as of Sun Apr 14 15:56:41 2019 *** \n",
"=\n",
"[#0f8bf6 67GiB/69GiB(98%) CN:5 DL:142MiB ETA:9s]\n",
"FILE: /content/nsynth-train.tfrecord\n",
"-\n",
"\n",
"\u001b[0m\n",
"04/14 15:56:51 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /content/nsynth-train.tfrecord\n",
"\n",
"Download Results:\n",
"gid |stat|avg speed |path/URI\n",
"======+====+===========+=======================================================\n",
"0f8bf6|\u001b[1;32mOK\u001b[0m | 142MiB/s|/content/nsynth-train.tfrecord\n",
"\n",
"Status Legend:\n",
"(OK):download completed.\n"
],
"name": "stdout"
}
]
},
{
"metadata": {
"id": "OmyH2WyWdiJ_",
"colab_type": "code",
"outputId": "ab094d69-b94f-45de-887c-7fa53198c8c2",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 250
}
},
"cell_type": "code",
"source": [
"!aria2c -x16 http://download.magenta.tensorflow.org/datasets/nsynth/nsynth-valid.tfrecord"
],
"execution_count": 11,
"outputs": [
{
"output_type": "stream",
"text": [
"\n",
"04/14 15:56:53 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
"\u001b[0m\n",
"04/14 15:57:15 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /content/nsynth-valid.tfrecord\n",
"\n",
"Download Results:\n",
"gid |stat|avg speed |path/URI\n",
"======+====+===========+=======================================================\n",
"580db3|\u001b[1;32mOK\u001b[0m | 144MiB/s|/content/nsynth-valid.tfrecord\n",
"\n",
"Status Legend:\n",
"(OK):download completed.\n"
],
"name": "stdout"
}
]
},
{
"metadata": {
"id": "l0tVNHYtdwLq",
"colab_type": "code",
"outputId": "46c04bdd-2292-4b3f-f063-a4e586f7b98a",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 250
}
},
"cell_type": "code",
"source": [
"!aria2c -x16 http://download.magenta.tensorflow.org/datasets/nsynth/nsynth-test.tfrecord"
],
"execution_count": 12,
"outputs": [
{
"output_type": "stream",
"text": [
"\n",
"04/14 15:57:16 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
"\u001b[0m\n",
"04/14 15:57:23 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /content/nsynth-test.tfrecord\n",
"\n",
"Download Results:\n",
"gid |stat|avg speed |path/URI\n",
"======+====+===========+=======================================================\n",
"69f586|\u001b[1;32mOK\u001b[0m | 152MiB/s|/content/nsynth-test.tfrecord\n",
"\n",
"Status Legend:\n",
"(OK):download completed.\n"
],
"name": "stdout"
}
]
},
{
"metadata": {
"id": "9MSWeFJ0h9Q2",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
""
],
"execution_count": 0,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment