{
  "id": 244756,
  "title": "albumentations.pytorch.ToTensorV2 transform problem.",
  "url": "/competitions/seti-breakthrough-listen/discussion/244756",
  "author_name": "dragon zhang",
  "post_date": "2021-06-08T07:32:58.851000",
  "votes": 0,
  "comment_count": 2,
  "views": 0,
  "content": "<p>It runs fine on kaggle.  However, on Colab ToTensorV2() throws out error.</p>\n<p>ValueError axes don't match array due transpose.</p>\n<p>how to fix it on Colab?</p>",
  "messages": [
    {
      "id": 1340721,
      "postDate": "2021-06-08T07:55:59.260Z",
      "content": "<p>Hello. try this install on colab<br>\n!pip install -U git+<a href=\"https://github.com/albu/albumentations\" target=\"_blank\">https://github.com/albu/albumentations</a> --no-cache-dir</p>\n<p>Or, you may transpose the image before the augmentation step.<br>\nI heard numpy-transpose change logical index, the computationally fine.</p>",
      "rawMarkdown": "Hello. try this install on colab\n!pip install -U git+https://github.com/albu/albumentations --no-cache-dir\n\nOr, you may transpose the image before the augmentation step.\nI heard numpy-transpose change logical index, the computationally fine."
    },
    {
      "id": 1340689,
      "postDate": "2021-06-08T07:32:58.850Z",
      "content": "<p>It runs fine on kaggle.  However, on Colab ToTensorV2() throws out error.</p>\n<p>ValueError axes don't match array due transpose.</p>\n<p>how to fix it on Colab?</p>",
      "rawMarkdown": "It runs fine on kaggle.  However, on Colab ToTensorV2() throws out error.\n\nValueError axes don't match array due transpose.\n\nhow to fix it on Colab?"
    },
    {
      "id": 1342186,
      "postDate": "2021-06-09T08:45:26.723Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1340721,
      "author_name": "WOOSUNG YOON",
      "author_url": "",
      "post_date": "2021-06-08T07:55:59.260000",
      "content": "<p>Hello. try this install on colab<br>\n!pip install -U git+<a href=\"https://github.com/albu/albumentations\" target=\"_blank\">https://github.com/albu/albumentations</a> --no-cache-dir</p>\n<p>Or, you may transpose the image before the augmentation step.<br>\nI heard numpy-transpose change logical index, the computationally fine.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1342186,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-06-09T08:45:26.723000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1340721": "Hello. try this install on colab\n!pip install -U git+https://github.com/albu/albumentations --no-cache-dir\n\nOr, you may transpose the image before the augmentation step.\nI heard numpy-transpose change logical index, the computationally fine.",
    "1340689": "It runs fine on kaggle.  However, on Colab ToTensorV2() throws out error.\n\nValueError axes don't match array due transpose.\n\nhow to fix it on Colab?",
    "1342186": ""
  }
}