{
  "id": 304945,
  "title": "Training with Google Colab Overnight",
  "url": "/competitions/tensorflow-great-barrier-reef/discussion/304945",
  "author_name": "aquaright",
  "post_date": "2022-02-03T04:34:54.103000",
  "votes": 13,
  "comment_count": 12,
  "views": 0,
  "content": "<p>For some context, I'm using a macbook air 2019 with google colab pro and 100gb gdrive plan. Cloud computing is a god send especially since my low powered macbook can barely handle zoom + skype.</p>\n<p>Just found this out recently and I thought it would be worth sharing to the rest of the community:</p>\n<p>Typing <code>caffeinate</code> in terminal prevents your mac from falling asleep when the display is closed. Meaning that you could train overnight (without needing Colab+)</p>\n<p>Edit: I found a semi-functioning windows equivalent</p>\n<p><a href=\"https://superuser.com/questions/1382187/windows-equivalent-of-os-x-caffeinate\" target=\"_blank\">https://superuser.com/questions/1382187/windows-equivalent-of-os-x-caffeinate</a></p>\n<p>Edit: I've been having problems with my mac laptop closed. <code>caffeinate -i</code> seems to have fixed the problem</p>",
  "messages": [
    {
      "id": 1673900,
      "postDate": "2022-02-03T04:34:54.103Z",
      "content": "<p>For some context, I'm using a macbook air 2019 with google colab pro and 100gb gdrive plan. Cloud computing is a god send especially since my low powered macbook can barely handle zoom + skype.</p>\n<p>Just found this out recently and I thought it would be worth sharing to the rest of the community:</p>\n<p>Typing <code>caffeinate</code> in terminal prevents your mac from falling asleep when the display is closed. Meaning that you could train overnight (without needing Colab+)</p>\n<p>Edit: I found a semi-functioning windows equivalent</p>\n<p><a href=\"https://superuser.com/questions/1382187/windows-equivalent-of-os-x-caffeinate\" target=\"_blank\">https://superuser.com/questions/1382187/windows-equivalent-of-os-x-caffeinate</a></p>\n<p>Edit: I've been having problems with my mac laptop closed. <code>caffeinate -i</code> seems to have fixed the problem</p>",
      "rawMarkdown": "For some context, I'm using a macbook air 2019 with google colab pro and 100gb gdrive plan. Cloud computing is a god send especially since my low powered macbook can barely handle zoom + skype.\n\nJust found this out recently and I thought it would be worth sharing to the rest of the community:\n\nTyping `caffeinate` in terminal prevents your mac from falling asleep when the display is closed. Meaning that you could train overnight (without needing Colab+)\n\n\nEdit: I found a semi-functioning windows equivalent\n\nhttps://superuser.com/questions/1382187/windows-equivalent-of-os-x-caffeinate\n\nEdit: I've been having problems with my mac laptop closed. `caffeinate -i` seems to have fixed the problem",
      "votes": 13
    },
    {
      "id": 1675139,
      "postDate": "2022-02-04T04:20:36.530Z",
      "content": "<p>I'm just basically using auto click mouse on my windows to keep the session on Colab Pro alive lol. </p>",
      "rawMarkdown": "I'm just basically using auto click mouse on my windows to keep the session on Colab Pro alive lol. ",
      "votes": 1,
      "replies": [
        {
          "id": 1675350,
          "postDate": "2022-02-04T07:51:49.167Z",
          "content": "<p>has colab throttled you yet? I've gotten pro pretty recently, and I dont know what my limits are before they start throttling me down to T4s and K80s</p>",
          "rawMarkdown": "has colab throttled you yet? I've gotten pro pretty recently, and I dont know what my limits are before they start throttling me down to T4s and K80s"
        },
        {
          "id": 1675362,
          "postDate": "2022-02-04T07:58:56.533Z",
          "content": "<p>Not yet, I'm trained on two sessions and works fine. (yeah, only P100)</p>",
          "rawMarkdown": "Not yet, I'm trained on two sessions and works fine. (yeah, only P100)",
          "votes": 1
        },
        {
          "id": 1676596,
          "postDate": "2022-02-05T05:52:46.993Z",
          "content": "<p>Ok I think I've been throttled down since its Friday night. I'm currently limited to a T4 with one session </p>",
          "rawMarkdown": "Ok I think I've been throttled down since its Friday night. I'm currently limited to a T4 with one session ",
          "votes": 1
        },
        {
          "id": 1680847,
          "postDate": "2022-02-08T03:58:56.633Z",
          "content": "<p>Are you using a .py script to keep colab session alive periodically? I'm looking for this script. Do you mind to share? Thanks in advance.</p>",
          "rawMarkdown": "Are you using a .py script to keep colab session alive periodically? I'm looking for this script. Do you mind to share? Thanks in advance."
        }
      ]
    },
    {
      "id": 1675115,
      "postDate": "2022-02-04T03:48:41.610Z",
      "content": "<p>Colab pro+ is all you need lol…</p>",
      "rawMarkdown": "Colab pro+ is all you need lol...",
      "replies": [
        {
          "id": 1675132,
          "postDate": "2022-02-04T04:13:04.283Z",
          "content": "<p>its 50 dollars a month though</p>",
          "rawMarkdown": "its 50 dollars a month though"
        },
        {
          "id": 1680247,
          "postDate": "2022-02-07T17:19:31.543Z",
          "content": "<p>The problem is that Colab Pro is not available in all countries</p>",
          "rawMarkdown": "The problem is that Colab Pro is not available in all countries"
        },
        {
          "id": 1680269,
          "postDate": "2022-02-07T17:44:11.637Z",
          "content": "<p>you dont need colab pro for this, its just nicer to have P100s</p>",
          "rawMarkdown": "you dont need colab pro for this, its just nicer to have P100s"
        }
      ]
    },
    {
      "id": 1680248,
      "postDate": "2022-02-07T17:19:49.163Z",
      "content": "<p>There's one problem - Colab may require you to click on captcha.</p>",
      "rawMarkdown": "There's one problem - Colab may require you to click on captcha.",
      "replies": [
        {
          "id": 1680271,
          "postDate": "2022-02-07T17:44:44.173Z",
          "content": "<p>havent run into that problem yet, I have both colab sessions split screened with <code>caffeinate -i</code></p>",
          "rawMarkdown": "havent run into that problem yet, I have both colab sessions split screened with `caffeinate -i`"
        }
      ]
    },
    {
      "id": 1681530,
      "postDate": "2022-02-08T14:34:50.100Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1675139,
      "author_name": "Bao Loc Pham",
      "author_url": "",
      "post_date": "2022-02-04T04:20:36.530000",
      "content": "<p>I'm just basically using auto click mouse on my windows to keep the session on Colab Pro alive lol. </p>",
      "votes": 1,
      "replies": [
        {
          "id": 1675350,
          "author_name": "aquaright",
          "author_url": "",
          "post_date": "2022-02-04T07:51:49.167000",
          "content": "<p>has colab throttled you yet? I've gotten pro pretty recently, and I dont know what my limits are before they start throttling me down to T4s and K80s</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1675362,
          "author_name": "Bao Loc Pham",
          "author_url": "",
          "post_date": "2022-02-04T07:58:56.533000",
          "content": "<p>Not yet, I'm trained on two sessions and works fine. (yeah, only P100)</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1676596,
          "author_name": "aquaright",
          "author_url": "",
          "post_date": "2022-02-05T05:52:46.993000",
          "content": "<p>Ok I think I've been throttled down since its Friday night. I'm currently limited to a T4 with one session </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1680847,
          "author_name": "Ivan",
          "author_url": "",
          "post_date": "2022-02-08T03:58:56.633000",
          "content": "<p>Are you using a .py script to keep colab session alive periodically? I'm looking for this script. Do you mind to share? Thanks in advance.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1675115,
      "author_name": "Hinz",
      "author_url": "",
      "post_date": "2022-02-04T03:48:41.610000",
      "content": "<p>Colab pro+ is all you need lol…</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1675132,
          "author_name": "aquaright",
          "author_url": "",
          "post_date": "2022-02-04T04:13:04.283000",
          "content": "<p>its 50 dollars a month though</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1680247,
          "author_name": "Araik Tamazian",
          "author_url": "",
          "post_date": "2022-02-07T17:19:31.543000",
          "content": "<p>The problem is that Colab Pro is not available in all countries</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1680269,
          "author_name": "aquaright",
          "author_url": "",
          "post_date": "2022-02-07T17:44:11.637000",
          "content": "<p>you dont need colab pro for this, its just nicer to have P100s</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1680248,
      "author_name": "Araik Tamazian",
      "author_url": "",
      "post_date": "2022-02-07T17:19:49.163000",
      "content": "<p>There's one problem - Colab may require you to click on captcha.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1680271,
          "author_name": "aquaright",
          "author_url": "",
          "post_date": "2022-02-07T17:44:44.173000",
          "content": "<p>havent run into that problem yet, I have both colab sessions split screened with <code>caffeinate -i</code></p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1681530,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-02-08T14:34:50.100000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1673900": "For some context, I'm using a macbook air 2019 with google colab pro and 100gb gdrive plan. Cloud computing is a god send especially since my low powered macbook can barely handle zoom + skype.\n\nJust found this out recently and I thought it would be worth sharing to the rest of the community:\n\nTyping `caffeinate` in terminal prevents your mac from falling asleep when the display is closed. Meaning that you could train overnight (without needing Colab+)\n\n\nEdit: I found a semi-functioning windows equivalent\n\nhttps://superuser.com/questions/1382187/windows-equivalent-of-os-x-caffeinate\n\nEdit: I've been having problems with my mac laptop closed. `caffeinate -i` seems to have fixed the problem",
    "1675139": "I'm just basically using auto click mouse on my windows to keep the session on Colab Pro alive lol. ",
    "1675115": "Colab pro+ is all you need lol...",
    "1680248": "There's one problem - Colab may require you to click on captcha.",
    "1681530": ""
  }
}