{
  "id": 306742,
  "title": "Single Channeled images",
  "url": "/competitions/happy-whale-and-dolphin/discussion/306742",
  "author_name": "",
  "post_date": "2022-02-10T15:54:30.263364700Z",
  "votes": 6,
  "comment_count": 19,
  "views": 0,
  "content": "<p>there are many black and white images how are you guys gonna approach them <br>\n<img src=\"https://i.ibb.co/4s4K2R1/image.png\" alt=\"\"></p>",
  "messages": [
    {
      "id": "1684618",
      "postDate": "02/10/2022 15:54:30",
      "content": "<p>there are many black and white images how are you guys gonna approach them <br>\n<img src=\"https://i.ibb.co/4s4K2R1/image.png\" alt=\"\"></p>",
      "rawMarkdown": "there are many black and white images how are you guys gonna approach them \n![](https://i.ibb.co/4s4K2R1/image.png)",
      "votes": null
    },
    {
      "id": "1685267",
      "postDate": "02/11/2022 06:40:46",
      "content": "<p>just using open CV to get the images fixes them I think</p>",
      "rawMarkdown": "just using open CV to get the images fixes them I think",
      "votes": null
    },
    {
      "id": "1685304",
      "postDate": "02/11/2022 07:16:25",
      "content": "<p>still, that's bias possibility for the model </p>",
      "rawMarkdown": "still, that's bias possibility for the model",
      "votes": null
    },
    {
      "id": "1685826",
      "postDate": "02/11/2022 15:08:22",
      "content": "<p>Good insight, <a href=\"https://www.kaggle.com/somesh88\" target=\"_blank\">@somesh88</a>, but it seems that the left bottom image is still in RGB channels.</p>",
      "rawMarkdown": "Good insight, @somesh88, but it seems that the left bottom image is still in RGB channels.",
      "votes": null
    },
    {
      "id": "1686037",
      "postDate": "02/11/2022 17:54:33",
      "content": "<p>What other approaches might be possible to handle this well? </p>\n<p>I would just copy over the channels as <a href=\"https://www.kaggle.com/mrinath\" target=\"_blank\">@mrinath</a> suggested. </p>\n<p>Okay: A LONG Stretch-but maybe DeOldify to color the images might be a fun experiment. </p>",
      "rawMarkdown": "What other approaches might be possible to handle this well? \n\nI would just copy over the channels as @mrinath suggested. \n\nOkay: A LONG Stretch-but maybe DeOldify to color the images might be a fun experiment.",
      "votes": null
    },
    {
      "id": "1688452",
      "postDate": "02/13/2022 16:19:09",
      "content": "<p>Thanks for the visualizations <a href=\"https://www.kaggle.com/somesh88\" target=\"_blank\">@somesh88</a>! I have analyzed the distribution of single-channel images for all test and train images in my notebook here <a href=\"https://www.kaggle.com/bsridatta/happywhale/notebook#Sample-distributions-%F0%9F%93%88\" target=\"_blank\">link to the relevant section</a>. You may find it interesting!</p>",
      "rawMarkdown": "Thanks for the visualizations @somesh88! I have analyzed the distribution of single-channel images for all test and train images in my notebook here [link to the relevant section](https://www.kaggle.com/bsridatta/happywhale/notebook#Sample-distributions-%F0%9F%93%88). You may find it interesting!",
      "votes": null
    },
    {
      "id": "1688479",
      "postDate": "02/13/2022 16:46:17",
      "content": "<p>yes it was 4 channeled image I just checked if the image is not 3 channeled haha </p>",
      "rawMarkdown": "yes it was 4 channeled image I just checked if the image is not 3 channeled haha",
      "votes": null
    },
    {
      "id": "1688485",
      "postDate": "02/13/2022 16:50:05",
      "content": "<p>hey great notebook thanks for sharing it with me :) </p>",
      "rawMarkdown": "hey great notebook thanks for sharing it with me :)",
      "votes": null
    },
    {
      "id": "1688487",
      "postDate": "02/13/2022 16:51:29",
      "content": "<p>haha yes it'll be a fun experiment but don't have that many compute resources available rn ( Kaggle provides less GPU hrs :( ) </p>",
      "rawMarkdown": "haha yes it'll be a fun experiment but don't have that many compute resources available rn ( Kaggle provides less GPU hrs :( )",
      "votes": null
    },
    {
      "id": "1688488",
      "postDate": "02/13/2022 16:52:14",
      "content": "<p>I've seen one notebook he was using cv2 it was same copying over the channels approach haha </p>",
      "rawMarkdown": "I've seen one notebook he was using cv2 it was same copying over the channels approach haha",
      "votes": null
    },
    {
      "id": "1688510",
      "postDate": "02/13/2022 17:04:56",
      "content": "<p>I think DeOldify uses really fewer resources. It might be worth trying on Colab. </p>\n<p>It would also make for an interesting dataset if anyone is willing to experiment :) </p>",
      "rawMarkdown": "I think DeOldify uses really fewer resources. It might be worth trying on Colab. \n\nIt would also make for an interesting dataset if anyone is willing to experiment :)",
      "votes": null
    },
    {
      "id": "1688517",
      "postDate": "02/13/2022 17:11:03",
      "content": "<p>I'll try it on Kaggle let's see how it goes <br>\ncreating notebook right now doesn't seems that hard ( but I am sure finding the 3 channeled images takes lot of time lol ) </p>",
      "rawMarkdown": "I'll try it on Kaggle let's see how it goes \ncreating notebook right now doesn't seems that hard ( but I am sure finding the 3 channeled images takes lot of time lol )",
      "votes": null
    },
    {
      "id": "1688536",
      "postDate": "02/13/2022 17:27:23",
      "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> the iamge data is of around 62 gb not sure I can make it in kaggle directory :( </p>",
      "rawMarkdown": "init27 the iamge data is of around 62 gb not sure I can make it in kaggle directory :(",
      "votes": null
    },
    {
      "id": "1688566",
      "postDate": "02/13/2022 17:46:08",
      "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> I was trying out deoldify but dataset is too big I am not sure how long it will take but I made some visualizations what do you think will it be helpful to convert these 1channeld images to colorized images </p>\n<p><img src=\"https://i.ibb.co/kKT3H3N/image.png\" alt=\"\"></p>",
      "rawMarkdown": "init27 I was trying out deoldify but dataset is too big I am not sure how long it will take but I made some visualizations what do you think will it be helpful to convert these 1channeld images to colorized images \n\n![](https://i.ibb.co/kKT3H3N/image.png)",
      "votes": null
    },
    {
      "id": "1688568",
      "postDate": "02/13/2022 17:47:28",
      "content": "<p>some more images here <img src=\"https://i.ibb.co/bQGF5DG/image.png\" alt=\"\"></p>",
      "rawMarkdown": "some more images here ![](https://i.ibb.co/bQGF5DG/image.png)",
      "votes": null
    },
    {
      "id": "1688655",
      "postDate": "02/13/2022 18:38:49",
      "content": "<p>It's a good idea to add this to the title or main content, I am sure many didn't notice this. I suspected something like this and handled it in creating meta data but was too lazy to verify how many are like that. Thanks for your insight! </p>",
      "rawMarkdown": "It's a good idea to add this to the title or main content, I am sure many didn't notice this. I suspected something like this and handled it in creating meta data but was too lazy to verify how many are like that. Thanks for your insight!",
      "votes": null
    },
    {
      "id": "1688662",
      "postDate": "02/13/2022 18:40:42",
      "content": "<p>I dont think you should worry about that. They don't visually look different from the 3 channel ones after converting to RGB in many cases. And the proportion is very small. </p>",
      "rawMarkdown": "I dont think you should worry about that. They don't visually look different from the 3 channel ones after converting to RGB in many cases. And the proportion is very small.",
      "votes": null
    },
    {
      "id": "1688665",
      "postDate": "02/13/2022 18:45:36",
      "content": "<p>no it's not small in first 1000 images I found about 24 images b_and_w <br>\nin total 54000 I think there will be hell lot of images </p>",
      "rawMarkdown": "no it's not small in first 1000 images I found about 24 images b_and_w \nin total 54000 I think there will be hell lot of images",
      "votes": null
    },
    {
      "id": "1688745",
      "postDate": "02/13/2022 19:46:57",
      "content": "<p>Please look at how competitors batch data-there have been many similar competitions. </p>\n<p>You'll have to work with subsets. </p>",
      "rawMarkdown": "Please look at how competitors batch data-there have been many similar competitions. \n\nYou'll have to work with subsets.",
      "votes": null
    },
    {
      "id": "1689659",
      "postDate": "02/14/2022 11:48:07",
      "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> the dataset is published now thanks for your idea <br>\nthere are images but I manged to generate colorized images haha </p>\n<h2>completed notebook link :</h2>\n<p><a href=\"https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281\" target=\"_blank\">https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281</a></p>\n<h2>dataset link</h2>\n<p><a href=\"https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images\" target=\"_blank\">https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images</a></p>",
      "rawMarkdown": "init27 the dataset is published now thanks for your idea \nthere are images but I manged to generate colorized images haha \n\n## completed notebook link :\n[https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281](https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281)\n## dataset link \n[https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images](https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1685267,
      "author_name": "mrinath",
      "author_url": "",
      "post_date": "02/11/2022 06:40:46",
      "content": "<p>just using open CV to get the images fixes them I think</p>",
      "votes": null,
      "replies": [
        {
          "id": 1685304,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/11/2022 07:16:25",
          "content": "<p>still, that's bias possibility for the model </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1686037,
          "author_name": "init27",
          "author_url": "",
          "post_date": "02/11/2022 17:54:33",
          "content": "<p>What other approaches might be possible to handle this well? </p>\n<p>I would just copy over the channels as <a href=\"https://www.kaggle.com/mrinath\" target=\"_blank\">@mrinath</a> suggested. </p>\n<p>Okay: A LONG Stretch-but maybe DeOldify to color the images might be a fun experiment. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688487,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 16:51:29",
          "content": "<p>haha yes it'll be a fun experiment but don't have that many compute resources available rn ( Kaggle provides less GPU hrs :( ) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688488,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 16:52:14",
          "content": "<p>I've seen one notebook he was using cv2 it was same copying over the channels approach haha </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688510,
          "author_name": "init27",
          "author_url": "",
          "post_date": "02/13/2022 17:04:56",
          "content": "<p>I think DeOldify uses really fewer resources. It might be worth trying on Colab. </p>\n<p>It would also make for an interesting dataset if anyone is willing to experiment :) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688517,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 17:11:03",
          "content": "<p>I'll try it on Kaggle let's see how it goes <br>\ncreating notebook right now doesn't seems that hard ( but I am sure finding the 3 channeled images takes lot of time lol ) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688536,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 17:27:23",
          "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> the iamge data is of around 62 gb not sure I can make it in kaggle directory :( </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688745,
          "author_name": "init27",
          "author_url": "",
          "post_date": "02/13/2022 19:46:57",
          "content": "<p>Please look at how competitors batch data-there have been many similar competitions. </p>\n<p>You'll have to work with subsets. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1689659,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/14/2022 11:48:07",
          "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> the dataset is published now thanks for your idea <br>\nthere are images but I manged to generate colorized images haha </p>\n<h2>completed notebook link :</h2>\n<p><a href=\"https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281\" target=\"_blank\">https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281</a></p>\n<h2>dataset link</h2>\n<p><a href=\"https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images\" target=\"_blank\">https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1685826,
      "author_name": "vad13irt",
      "author_url": "",
      "post_date": "02/11/2022 15:08:22",
      "content": "<p>Good insight, <a href=\"https://www.kaggle.com/somesh88\" target=\"_blank\">@somesh88</a>, but it seems that the left bottom image is still in RGB channels.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1688479,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 16:46:17",
          "content": "<p>yes it was 4 channeled image I just checked if the image is not 3 channeled haha </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688655,
          "author_name": "bsridatta",
          "author_url": "",
          "post_date": "02/13/2022 18:38:49",
          "content": "<p>It's a good idea to add this to the title or main content, I am sure many didn't notice this. I suspected something like this and handled it in creating meta data but was too lazy to verify how many are like that. Thanks for your insight! </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1688452,
      "author_name": "bsridatta",
      "author_url": "",
      "post_date": "02/13/2022 16:19:09",
      "content": "<p>Thanks for the visualizations <a href=\"https://www.kaggle.com/somesh88\" target=\"_blank\">@somesh88</a>! I have analyzed the distribution of single-channel images for all test and train images in my notebook here <a href=\"https://www.kaggle.com/bsridatta/happywhale/notebook#Sample-distributions-%F0%9F%93%88\" target=\"_blank\">link to the relevant section</a>. You may find it interesting!</p>",
      "votes": null,
      "replies": [
        {
          "id": 1688485,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 16:50:05",
          "content": "<p>hey great notebook thanks for sharing it with me :) </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1688566,
      "author_name": "somesh88",
      "author_url": "",
      "post_date": "02/13/2022 17:46:08",
      "content": "<p><a href=\"https://www.kaggle.com/init27\" target=\"_blank\">@init27</a> I was trying out deoldify but dataset is too big I am not sure how long it will take but I made some visualizations what do you think will it be helpful to convert these 1channeld images to colorized images </p>\n<p><img src=\"https://i.ibb.co/kKT3H3N/image.png\" alt=\"\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 1688568,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 17:47:28",
          "content": "<p>some more images here <img src=\"https://i.ibb.co/bQGF5DG/image.png\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688662,
          "author_name": "bsridatta",
          "author_url": "",
          "post_date": "02/13/2022 18:40:42",
          "content": "<p>I dont think you should worry about that. They don't visually look different from the 3 channel ones after converting to RGB in many cases. And the proportion is very small. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1688665,
          "author_name": "somesh88",
          "author_url": "",
          "post_date": "02/13/2022 18:45:36",
          "content": "<p>no it's not small in first 1000 images I found about 24 images b_and_w <br>\nin total 54000 I think there will be hell lot of images </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1684618": "there are many black and white images how are you guys gonna approach them \n![](https://i.ibb.co/4s4K2R1/image.png)",
    "1685267": "just using open CV to get the images fixes them I think",
    "1685304": "still, that's bias possibility for the model",
    "1685826": "Good insight, @somesh88, but it seems that the left bottom image is still in RGB channels.",
    "1686037": "What other approaches might be possible to handle this well? \n\nI would just copy over the channels as @mrinath suggested. \n\nOkay: A LONG Stretch-but maybe DeOldify to color the images might be a fun experiment.",
    "1688452": "Thanks for the visualizations @somesh88! I have analyzed the distribution of single-channel images for all test and train images in my notebook here [link to the relevant section](https://www.kaggle.com/bsridatta/happywhale/notebook#Sample-distributions-%F0%9F%93%88). You may find it interesting!",
    "1688479": "yes it was 4 channeled image I just checked if the image is not 3 channeled haha",
    "1688485": "hey great notebook thanks for sharing it with me :)",
    "1688487": "haha yes it'll be a fun experiment but don't have that many compute resources available rn ( Kaggle provides less GPU hrs :( )",
    "1688488": "I've seen one notebook he was using cv2 it was same copying over the channels approach haha",
    "1688510": "I think DeOldify uses really fewer resources. It might be worth trying on Colab. \n\nIt would also make for an interesting dataset if anyone is willing to experiment :)",
    "1688517": "I'll try it on Kaggle let's see how it goes \ncreating notebook right now doesn't seems that hard ( but I am sure finding the 3 channeled images takes lot of time lol )",
    "1688536": "init27 the iamge data is of around 62 gb not sure I can make it in kaggle directory :(",
    "1688566": "init27 I was trying out deoldify but dataset is too big I am not sure how long it will take but I made some visualizations what do you think will it be helpful to convert these 1channeld images to colorized images \n\n![](https://i.ibb.co/kKT3H3N/image.png)",
    "1688568": "some more images here ![](https://i.ibb.co/bQGF5DG/image.png)",
    "1688655": "It's a good idea to add this to the title or main content, I am sure many didn't notice this. I suspected something like this and handled it in creating meta data but was too lazy to verify how many are like that. Thanks for your insight!",
    "1688662": "I dont think you should worry about that. They don't visually look different from the 3 channel ones after converting to RGB in many cases. And the proportion is very small.",
    "1688665": "no it's not small in first 1000 images I found about 24 images b_and_w \nin total 54000 I think there will be hell lot of images",
    "1688745": "Please look at how competitors batch data-there have been many similar competitions. \n\nYou'll have to work with subsets.",
    "1689659": "init27 the dataset is published now thanks for your idea \nthere are images but I manged to generate colorized images haha \n\n## completed notebook link :\n[https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281](https://www.kaggle.com/somesh88/coloring-single-channel-images-deoldify?scriptVersionId=87787281)\n## dataset link \n[https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images](https://www.kaggle.com/somesh88/deoldify-single-channeled-converted-images)"
  },
  "source": "meta"
}