{
  "id": 47718,
  "title": "Train images 4-channel, Test Images 3 ?",
  "url": "/competitions/data-science-bowl-2018/discussion/47718",
  "author_name": "",
  "post_date": "2018-01-17T23:20:39.963716500Z",
  "votes": 3,
  "comment_count": 1,
  "views": 0,
  "content": "<p>When I read the TRAIN images with :</p>\n\n<pre><code>          from skimage.io import imread\n          img = imread(path + '/images/' + id_ + '.png') \n</code></pre>\n\n<p>I get 4 channels (:,:,:,4) and the wiki says 4 channel is RGBA. The range of the 4th channel, the alpha channel is 255 to 254.\nBut when I read the TEST images, they are 3 channel..</p>\n\n<p>What will the stage 2 data for test images be like ?</p>",
  "messages": [
    {
      "id": "270220",
      "postDate": "01/17/2018 23:20:39",
      "content": "<p>When I read the TRAIN images with :</p>\n\n<pre><code>          from skimage.io import imread\n          img = imread(path + '/images/' + id_ + '.png') \n</code></pre>\n\n<p>I get 4 channels (:,:,:,4) and the wiki says 4 channel is RGBA. The range of the 4th channel, the alpha channel is 255 to 254.\nBut when I read the TEST images, they are 3 channel..</p>\n\n<p>What will the stage 2 data for test images be like ?</p>",
      "rawMarkdown": "When I read the TRAIN images with :\n\n              from skimage.io import imread\n              img = imread(path + '/images/' + id_ + '.png') \n\nI get 4 channels (:,:,:,4) and the wiki says 4 channel is RGBA. The range of the 4th channel, the alpha channel is 255 to 254.\nBut when I read the TEST images, they are 3 channel..\n\nWhat will the stage 2 data for test images be like ?",
      "votes": null
    },
    {
      "id": "270561",
      "postDate": "01/18/2018 14:20:28",
      "content": "<p>It’ll be RGBA. I dropped the alpha channel to simplify training.</p>",
      "rawMarkdown": "It’ll be RGBA. I dropped the alpha channel to simplify training.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 270561,
      "author_name": "agoodman",
      "author_url": "",
      "post_date": "01/18/2018 14:20:28",
      "content": "<p>It’ll be RGBA. I dropped the alpha channel to simplify training.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "270220": "When I read the TRAIN images with :\n\n              from skimage.io import imread\n              img = imread(path + '/images/' + id_ + '.png') \n\nI get 4 channels (:,:,:,4) and the wiki says 4 channel is RGBA. The range of the 4th channel, the alpha channel is 255 to 254.\nBut when I read the TEST images, they are 3 channel..\n\nWhat will the stage 2 data for test images be like ?",
    "270561": "It’ll be RGBA. I dropped the alpha channel to simplify training."
  },
  "source": "meta"
}