{
  "id": 238122,
  "title": "Can't load images using tensorflow",
  "url": "/competitions/seti-breakthrough-listen/discussion/238122",
  "author_name": "Nikita Glazunov",
  "post_date": "2021-05-11T09:42:52.665000",
  "votes": 1,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Can't load images using tensorflow functions. What I did wrong?<br>\n![<a href=\"https://drive.google.com/file/d/1TPmigmonqML6K66hCygG_9XZ49bHHHNS/view?usp=sharing](url\" target=\"_blank\">https://drive.google.com/file/d/1TPmigmonqML6K66hCygG_9XZ49bHHHNS/view?usp=sharing](url</a> to embed)<br>\n![<a href=\"https://drive.google.com/file/d/1iKQGEMlnCr6hjQE7l6N1JVNSlGFX5Uqp/view?usp=sharing](url\" target=\"_blank\">https://drive.google.com/file/d/1iKQGEMlnCr6hjQE7l6N1JVNSlGFX5Uqp/view?usp=sharing](url</a> to embed)<br>\n![<a href=\"https://drive.google.com/file/d/1ek_irkTZBO8FHpamcla6REZ2iqfdjC3n/view?usp=sharing](url\" target=\"_blank\">https://drive.google.com/file/d/1ek_irkTZBO8FHpamcla6REZ2iqfdjC3n/view?usp=sharing](url</a> to embed)</p>",
  "messages": [
    {
      "id": 1301888,
      "postDate": "2021-05-11T09:42:52.667Z",
      "content": "<p>Can't load images using tensorflow functions. What I did wrong?<br>\n![<a href=\"https://drive.google.com/file/d/1TPmigmonqML6K66hCygG_9XZ49bHHHNS/view?usp=sharing](url\" target=\"_blank\">https://drive.google.com/file/d/1TPmigmonqML6K66hCygG_9XZ49bHHHNS/view?usp=sharing](url</a> to embed)<br>\n![<a href=\"https://drive.google.com/file/d/1iKQGEMlnCr6hjQE7l6N1JVNSlGFX5Uqp/view?usp=sharing](url\" target=\"_blank\">https://drive.google.com/file/d/1iKQGEMlnCr6hjQE7l6N1JVNSlGFX5Uqp/view?usp=sharing](url</a> to embed)<br>\n![<a href=\"https://drive.google.com/file/d/1ek_irkTZBO8FHpamcla6REZ2iqfdjC3n/view?usp=sharing](url\" target=\"_blank\">https://drive.google.com/file/d/1ek_irkTZBO8FHpamcla6REZ2iqfdjC3n/view?usp=sharing](url</a> to embed)</p>",
      "rawMarkdown": "Can't load images using tensorflow functions. What I did wrong?\n![https://drive.google.com/file/d/1TPmigmonqML6K66hCygG_9XZ49bHHHNS/view?usp=sharing](url to embed)\n![https://drive.google.com/file/d/1iKQGEMlnCr6hjQE7l6N1JVNSlGFX5Uqp/view?usp=sharing](url to embed)\n![https://drive.google.com/file/d/1ek_irkTZBO8FHpamcla6REZ2iqfdjC3n/view?usp=sharing](url to embed)",
      "votes": 1
    },
    {
      "id": 1307601,
      "postDate": "2021-05-14T14:45:29.540Z",
      "content": "<p>Try something like this (adjust per your own directory structure):</p>\n<p>python3<br>\nPython 3.8.5 (default, Jul 28 2020, 12:59:40) <br>\n[GCC 9.3.0] on linux<br>\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.</p>\n<blockquote>\n  <blockquote>\n    <blockquote>\n      <p>import numpy as np<br>\n      sig = np.load( \"train/3/3001d29d50a0.npy\")<br>\n      sig.shape<br>\n      (6, 273, 256)</p>\n    </blockquote>\n  </blockquote>\n</blockquote>",
      "rawMarkdown": "Try something like this (adjust per your own directory structure):\n\npython3\nPython 3.8.5 (default, Jul 28 2020, 12:59:40) \n[GCC 9.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import numpy as np\n>>> sig = np.load( \"train/3/3001d29d50a0.npy\")\n>>> sig.shape\n(6, 273, 256)\n>>> \n",
      "votes": 2,
      "replies": [
        {
          "id": 1308560,
          "postDate": "2021-05-15T09:54:18.070Z",
          "content": "<p>I have already found the other way to upload these images but thanks anyway!</p>",
          "rawMarkdown": "I have already found the other way to upload these images but thanks anyway!"
        }
      ]
    },
    {
      "id": 1307431,
      "postDate": "2021-05-14T12:45:07.787Z",
      "content": "<p>The original files are in .npy, you cant load them like images.</p>",
      "rawMarkdown": "The original files are in .npy, you cant load them like images."
    }
  ],
  "comments": [
    {
      "id": 1307601,
      "author_name": "David J. Slate",
      "author_url": "",
      "post_date": "2021-05-14T14:45:29.540000",
      "content": "<p>Try something like this (adjust per your own directory structure):</p>\n<p>python3<br>\nPython 3.8.5 (default, Jul 28 2020, 12:59:40) <br>\n[GCC 9.3.0] on linux<br>\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.</p>\n<blockquote>\n  <blockquote>\n    <blockquote>\n      <p>import numpy as np<br>\n      sig = np.load( \"train/3/3001d29d50a0.npy\")<br>\n      sig.shape<br>\n      (6, 273, 256)</p>\n    </blockquote>\n  </blockquote>\n</blockquote>",
      "votes": 2,
      "replies": [
        {
          "id": 1308560,
          "author_name": "Nikita Glazunov",
          "author_url": "",
          "post_date": "2021-05-15T09:54:18.070000",
          "content": "<p>I have already found the other way to upload these images but thanks anyway!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1307431,
      "author_name": "darkrubiks",
      "author_url": "",
      "post_date": "2021-05-14T12:45:07.787000",
      "content": "<p>The original files are in .npy, you cant load them like images.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1301888": "Can't load images using tensorflow functions. What I did wrong?\n![https://drive.google.com/file/d/1TPmigmonqML6K66hCygG_9XZ49bHHHNS/view?usp=sharing](url to embed)\n![https://drive.google.com/file/d/1iKQGEMlnCr6hjQE7l6N1JVNSlGFX5Uqp/view?usp=sharing](url to embed)\n![https://drive.google.com/file/d/1ek_irkTZBO8FHpamcla6REZ2iqfdjC3n/view?usp=sharing](url to embed)",
    "1307601": "Try something like this (adjust per your own directory structure):\n\npython3\nPython 3.8.5 (default, Jul 28 2020, 12:59:40) \n[GCC 9.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import numpy as np\n>>> sig = np.load( \"train/3/3001d29d50a0.npy\")\n>>> sig.shape\n(6, 273, 256)\n>>> \n",
    "1307431": "The original files are in .npy, you cant load them like images."
  }
}