{
  "id": 164777,
  "title": "Issue in calling pytorch version 1.2.0 ",
  "url": "/competitions/global-wheat-detection/discussion/164777",
  "author_name": "",
  "post_date": "2020-07-07T13:58:53.223337500Z",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I am trying to build my solution on pytorch version 1.2.0 but even though I have pip3 and conda installed the specific version for torch and torchvision only after uninstalling version 1.2.0 still when I import the libraries and check the version it says 1.5</p>\n\n<p>Is there a way to get 1.2.0 version of pytorch running on Kaggle?</p>",
  "messages": [
    {
      "id": "918802",
      "postDate": "07/07/2020 13:58:53",
      "content": "<p>I am trying to build my solution on pytorch version 1.2.0 but even though I have pip3 and conda installed the specific version for torch and torchvision only after uninstalling version 1.2.0 still when I import the libraries and check the version it says 1.5</p>\n\n<p>Is there a way to get 1.2.0 version of pytorch running on Kaggle?</p>",
      "rawMarkdown": "I am trying to build my solution on pytorch version 1.2.0 but even though I have pip3 and conda installed the specific version for torch and torchvision only after uninstalling version 1.2.0 still when I import the libraries and check the version it says 1.5\n\nIs there a way to get 1.2.0 version of pytorch running on Kaggle?",
      "votes": null
    },
    {
      "id": "919152",
      "postDate": "07/07/2020 18:24:56",
      "content": "<p>Might have to do something like:\n<code>!pip install --force-reinstall --no-deps torch==1.2.0</code>\nthough I haven't tested it</p>",
      "rawMarkdown": "Might have to do something like:\n`!pip install --force-reinstall --no-deps torch==1.2.0`\nthough I haven't tested it",
      "votes": null
    },
    {
      "id": "922548",
      "postDate": "07/10/2020 07:31:44",
      "content": "<p>Thanks Matthew, it worked for me.</p>",
      "rawMarkdown": "Thanks Matthew, it worked for me.",
      "votes": null
    },
    {
      "id": "922575",
      "postDate": "07/10/2020 07:57:36",
      "content": "<p>Good to hear!</p>",
      "rawMarkdown": "Good to hear!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 919152,
      "author_name": "matthewmasters",
      "author_url": "",
      "post_date": "07/07/2020 18:24:56",
      "content": "<p>Might have to do something like:\n<code>!pip install --force-reinstall --no-deps torch==1.2.0</code>\nthough I haven't tested it</p>",
      "votes": null,
      "replies": [
        {
          "id": 922548,
          "author_name": "ashishsaxena2209",
          "author_url": "",
          "post_date": "07/10/2020 07:31:44",
          "content": "<p>Thanks Matthew, it worked for me.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 922575,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "07/10/2020 07:57:36",
          "content": "<p>Good to hear!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "918802": "I am trying to build my solution on pytorch version 1.2.0 but even though I have pip3 and conda installed the specific version for torch and torchvision only after uninstalling version 1.2.0 still when I import the libraries and check the version it says 1.5\n\nIs there a way to get 1.2.0 version of pytorch running on Kaggle?",
    "919152": "Might have to do something like:\n`!pip install --force-reinstall --no-deps torch==1.2.0`\nthough I haven't tested it",
    "922548": "Thanks Matthew, it worked for me.",
    "922575": "Good to hear!"
  },
  "source": "meta"
}