{
  "id": 407355,
  "title": "Confirmation of prohibited pre-trained models",
  "url": "/competitions/vesuvius-challenge-ink-detection/discussion/407355",
  "author_name": "chumajin",
  "post_date": "2023-05-06T06:35:21.623000",
  "votes": 22,
  "comment_count": 14,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> </p>\n<p>Thank you for running such a fun competition. I'm enjoying it!</p>\n<p>I have tried fine-tuning various models and came across this topics <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/399140\" target=\"_blank\">ref1</a>.</p>\n<p>You stated that it is acceptable to use pre-trained models if they can be reproduced, but the rules of the competition(8-c) <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/rules\" target=\"_blank\">ref2</a> state that in no event limits commercial use of such code or model.<br>\nTherefore, is it correct to understand that we can only use pre-trained models that are both reproducible and available for commercial use?</p>\n<p>As an example, there is the huggingface nvidia segformer <a href=\"https://huggingface.co/docs/transformers/model_doc/segformer\" target=\"_blank\">ref3</a>, which is currently not available for commercial use <a href=\"https://github.com/NVlabs/SegFormer/blob/master/LICENSE\" target=\"_blank\">ref4</a>  (See 3.3)<br>\n, but in a past competition, it was allowed as an exception because the license was changed during the competition <a href=\"https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/356201\" target=\"_blank\">ref5</a>. However, for this competition, this model cannot be used, correct?</p>\n<p></p>\n<p>→ I have made the correction. It is also believed that segformer (Mix vision transformer) within segmentation-model-pytorch cannot be used for commercial purposes. Although segmentation-model-pytorch is licensed under the MIT license, there is a license for NVIDIA within the Mix Vision Transformer in it. <a href=\"https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py\" target=\"_blank\">ref8</a><br>\n※  It was stated in the comments. Thank you very much !!</p>\n<p>To summarize, is the following correct?</p>\n<ol>\n<li>The huggingface nvidia segformer cannot be used. (even if it can be reproduced)</li>\n<li><br>\n→ I have made the correction. Segformer(Mix Vision Transformer) also cannot be used from segmentation-model-pytorch.</li>\n</ol>\n<p>To avoid confusion after the competition, I would appreciate it if you could confirm my understanding. Thank you.</p>",
  "messages": [
    {
      "id": 2247605,
      "postDate": "2023-05-06T06:35:21.623Z",
      "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> </p>\n<p>Thank you for running such a fun competition. I'm enjoying it!</p>\n<p>I have tried fine-tuning various models and came across this topics <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/399140\" target=\"_blank\">ref1</a>.</p>\n<p>You stated that it is acceptable to use pre-trained models if they can be reproduced, but the rules of the competition(8-c) <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/rules\" target=\"_blank\">ref2</a> state that in no event limits commercial use of such code or model.<br>\nTherefore, is it correct to understand that we can only use pre-trained models that are both reproducible and available for commercial use?</p>\n<p>As an example, there is the huggingface nvidia segformer <a href=\"https://huggingface.co/docs/transformers/model_doc/segformer\" target=\"_blank\">ref3</a>, which is currently not available for commercial use <a href=\"https://github.com/NVlabs/SegFormer/blob/master/LICENSE\" target=\"_blank\">ref4</a>  (See 3.3)<br>\n, but in a past competition, it was allowed as an exception because the license was changed during the competition <a href=\"https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/356201\" target=\"_blank\">ref5</a>. However, for this competition, this model cannot be used, correct?</p>\n<p></p>\n<p>→ I have made the correction. It is also believed that segformer (Mix vision transformer) within segmentation-model-pytorch cannot be used for commercial purposes. Although segmentation-model-pytorch is licensed under the MIT license, there is a license for NVIDIA within the Mix Vision Transformer in it. <a href=\"https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py\" target=\"_blank\">ref8</a><br>\n※  It was stated in the comments. Thank you very much !!</p>\n<p>To summarize, is the following correct?</p>\n<ol>\n<li>The huggingface nvidia segformer cannot be used. (even if it can be reproduced)</li>\n<li><br>\n→ I have made the correction. Segformer(Mix Vision Transformer) also cannot be used from segmentation-model-pytorch.</li>\n</ol>\n<p>To avoid confusion after the competition, I would appreciate it if you could confirm my understanding. Thank you.</p>",
      "rawMarkdown": "@jpposma \n\nThank you for running such a fun competition. I'm enjoying it!\n\nI have tried fine-tuning various models and came across this topics [ref1](https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/399140).\n\nYou stated that it is acceptable to use pre-trained models if they can be reproduced, but the rules of the competition(8-c) [ref2](https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/rules) state that in no event limits commercial use of such code or model.\nTherefore, is it correct to understand that we can only use pre-trained models that are both reproducible and available for commercial use?\n\n\n\nAs an example, there is the huggingface nvidia segformer [ref3](https://huggingface.co/docs/transformers/model_doc/segformer), which is currently not available for commercial use [ref4](https://github.com/NVlabs/SegFormer/blob/master/LICENSE)  (See 3.3)\n, but in a past competition, it was allowed as an exception because the license was changed during the competition [ref5](https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/356201). However, for this competition, this model cannot be used, correct?\n\n~~On the other hand, the imagenet pre-trained segformer from the segmentation-model-pytorch(see Mix Vision Transformer) is believed under the MIT license [ref6](https://github.com/qubvel/segmentation_models.pytorch), so it should be available for use.\nHowever, what I don't understand is that Hugging Face also has pre-trained models for NVIDIA's ImageNet SegFormer [ref7](https://huggingface.co/nvidia/mit-b1), which like before, cannot be used for commercial purposes. I am not sure if these are the same models. Perhaps, since the license for segmentation-model-pytorch is MIT, it should be available for use.~~\n\n→ I have made the correction. It is also believed that segformer (Mix vision transformer) within segmentation-model-pytorch cannot be used for commercial purposes. Although segmentation-model-pytorch is licensed under the MIT license, there is a license for NVIDIA within the Mix Vision Transformer in it. [ref8] (https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py)\n※  It was stated in the comments. Thank you very much !!\n\nTo summarize, is the following correct?\n\n1. The huggingface nvidia segformer cannot be used. (even if it can be reproduced)\n2. ~~The segformer from the segmentation-model-pytorch can be used. (maybe this is MIT license)~~\n→ I have made the correction. Segformer(Mix Vision Transformer) also cannot be used from segmentation-model-pytorch.\n\nTo avoid confusion after the competition, I would appreciate it if you could confirm my understanding. Thank you.\n",
      "votes": 22
    },
    {
      "id": 2247787,
      "postDate": "2023-05-06T09:19:29.773Z",
      "content": "<p>if you are using seformer, pvt2 is a good replacement</p>\n<p><a href=\"https://arxiv.org/abs/2106.13797\" target=\"_blank\">https://arxiv.org/abs/2106.13797</a><br>\nPVT v2: Improved Baselines with Pyramid Vision Transformer</p>\n<p>if you check their papers, backbone MIT and PVTv2 are 98% the same. (mainly the convolutional postional encoding)</p>",
      "rawMarkdown": "if you are using seformer, pvt2 is a good replacement\n\nhttps://arxiv.org/abs/2106.13797\nPVT v2: Improved Baselines with Pyramid Vision Transformer\n\nif you check their papers, backbone MIT and PVTv2 are 98% the same. (mainly the convolutional postional encoding)",
      "votes": 10,
      "replies": [
        {
          "id": 2248290,
          "postDate": "2023-05-06T17:26:53.330Z",
          "content": "<p><a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> <br>\nThank you very much! Pyramid Vision Transformer looks great. I've never heard of it before! I'll give it a try.</p>",
          "rawMarkdown": "@hengck23 \nThank you very much! Pyramid Vision Transformer looks great. I've never heard of it before! I'll give it a try.",
          "votes": 2
        }
      ]
    },
    {
      "id": 2262413,
      "postDate": "2023-05-16T23:05:28.077Z",
      "content": "<p>Sorry that it took a while but we have an answer for you. You ARE allowed to use libraries that have a non-commercial clause in their license. <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/410906\" target=\"_blank\">https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/410906</a></p>",
      "rawMarkdown": "Sorry that it took a while but we have an answer for you. You ARE allowed to use libraries that have a non-commercial clause in their license. https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/410906",
      "votes": 7,
      "replies": [
        {
          "id": 2262634,
          "postDate": "2023-05-17T04:11:34.587Z",
          "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> <br>\nThank you for making it clear! With this, there should be no dispute over this matter even after the competition is over. Moreover, this competition will become even more enjoyable. </p>",
          "rawMarkdown": "@jpposma \nThank you for making it clear! With this, there should be no dispute over this matter even after the competition is over. Moreover, this competition will become even more enjoyable. "
        }
      ]
    },
    {
      "id": 2256817,
      "postDate": "2023-05-12T18:31:59.130Z",
      "content": "<p>Sorry for the delay, I totally missed this. I'm looking into this with <a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a> and <a href=\"https://www.kaggle.com/wcukierski\" target=\"_blank\">@wcukierski</a>.</p>",
      "rawMarkdown": "Sorry for the delay, I totally missed this. I'm looking into this with @ryanholbrook and @wcukierski.",
      "votes": 3,
      "replies": [
        {
          "id": 2257504,
          "postDate": "2023-05-13T12:07:30.430Z",
          "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> <br>\nThank you for your response! I feel relieved. Yes, please consult with the staff at Kaggle. I think it may also affect everyone's strategy. Additionally, we would like the competition to end peacefully and without any trouble after it's over.</p>\n<p><a href=\"https://www.kaggle.com/wcukierski\" target=\"_blank\">@wcukierski</a> , <a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a> <br>\nThank you always. Could you please check this and give us the comment? Thank you in advance.</p>",
          "rawMarkdown": "@jpposma \nThank you for your response! I feel relieved. Yes, please consult with the staff at Kaggle. I think it may also affect everyone's strategy. Additionally, we would like the competition to end peacefully and without any trouble after it's over.\n\n@wcukierski , @ryanholbrook \nThank you always. Could you please check this and give us the comment? Thank you in advance."
        }
      ]
    },
    {
      "id": 2257851,
      "postDate": "2023-05-13T17:33:17.330Z",
      "content": "<p>seems so clear, thnx for view</p>",
      "rawMarkdown": "seems so clear, thnx for view",
      "votes": 1
    },
    {
      "id": 2250539,
      "postDate": "2023-05-08T15:58:46.160Z",
      "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> any updates on the topic? do you have any final decision?</p>",
      "rawMarkdown": "@jpposma any updates on the topic? do you have any final decision?",
      "votes": 1
    },
    {
      "id": 2249539,
      "postDate": "2023-05-07T20:16:49.653Z",
      "content": "<p>You should be able to replicate the MLP decoder they use in segformer but attach it to the Swin implementation found in Pytorch.  I've found that the performance is the same even though this implementation isn't pretrained on a segmentation task.  This also wouldn't violate the license as the code isn't copied directly.  </p>",
      "rawMarkdown": "You should be able to replicate the MLP decoder they use in segformer but attach it to the Swin implementation found in Pytorch.  I've found that the performance is the same even though this implementation isn't pretrained on a segmentation task.  This also wouldn't violate the license as the code isn't copied directly.  ",
      "votes": 2,
      "replies": [
        {
          "id": 2250481,
          "postDate": "2023-05-08T15:23:28.693Z",
          "content": "<p><a href=\"https://www.kaggle.com/petersk20\" target=\"_blank\">@petersk20</a> Thank you for sharing your experience. If there are no issues with the license of the MLP decoder itself, that is a good idea, approach and results ! I also want to try challenging myself with something like that.</p>",
          "rawMarkdown": "@petersk20 Thank you for sharing your experience. If there are no issues with the license of the MLP decoder itself, that is a good idea, approach and results ! I also want to try challenging myself with something like that."
        }
      ]
    },
    {
      "id": 2247910,
      "postDate": "2023-05-06T11:08:57.210Z",
      "content": "<p>Although <code>segmentation-model-pytorch</code> is under MIT License, Mix Vision Transformer has the custom NVIDIA License.<br>\n<a href=\"https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py\" target=\"_blank\">https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py</a><br>\nSo this cannot be used if you are aiming for the prizes.</p>\n<p>As mentioned by <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a>, <code>pvt</code> is a better alternative with Apache-2 License.</p>",
      "rawMarkdown": "Although `segmentation-model-pytorch` is under MIT License, Mix Vision Transformer has the custom NVIDIA License.\nhttps://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py\nSo this cannot be used if you are aiming for the prizes.\n\nAs mentioned by @hengck23, `pvt` is a better alternative with Apache-2 License.",
      "votes": 2,
      "replies": [
        {
          "id": 2248297,
          "postDate": "2023-05-06T17:32:17.783Z",
          "content": "<p><a href=\"https://www.kaggle.com/samfc10\" target=\"_blank\">@samfc10</a> <br>\nThank you very much. You are right. I should have confirmed that earlier. I fixed the topic!<br>\nHowever, it seems easy to misuse this, as discussed <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/407119#2247447\" target=\"_blank\">here</a>. </p>\n<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> , staff<br>\nJust to be sure, could you also provide a comment from the host? (to avoid any trouble after the competition ends)</p>",
          "rawMarkdown": "@samfc10 \nThank you very much. You are right. I should have confirmed that earlier. I fixed the topic!\nHowever, it seems easy to misuse this, as discussed [here](https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/407119#2247447). \n\n@jpposma , staff\nJust to be sure, could you also provide a comment from the host? (to avoid any trouble after the competition ends)",
          "replies": [
            {
              "id": 2253619,
              "postDate": "2023-05-10T10:39:08.213Z",
              "content": "<p>It seems Mix Vision Transformer in SMP can only be used with 3 input channels</p>",
              "rawMarkdown": "It seems Mix Vision Transformer in SMP can only be used with 3 input channels",
              "votes": 1
            }
          ]
        }
      ]
    },
    {
      "id": 2248934,
      "postDate": "2023-05-07T11:02:01.287Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2247787,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2023-05-06T09:19:29.773000",
      "content": "<p>if you are using seformer, pvt2 is a good replacement</p>\n<p><a href=\"https://arxiv.org/abs/2106.13797\" target=\"_blank\">https://arxiv.org/abs/2106.13797</a><br>\nPVT v2: Improved Baselines with Pyramid Vision Transformer</p>\n<p>if you check their papers, backbone MIT and PVTv2 are 98% the same. (mainly the convolutional postional encoding)</p>",
      "votes": 10,
      "replies": [
        {
          "id": 2248290,
          "author_name": "chumajin",
          "author_url": "",
          "post_date": "2023-05-06T17:26:53.330000",
          "content": "<p><a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> <br>\nThank you very much! Pyramid Vision Transformer looks great. I've never heard of it before! I'll give it a try.</p>",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 2262413,
      "author_name": "JP Posma",
      "author_url": "",
      "post_date": "2023-05-16T23:05:28.077000",
      "content": "<p>Sorry that it took a while but we have an answer for you. You ARE allowed to use libraries that have a non-commercial clause in their license. <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/410906\" target=\"_blank\">https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/410906</a></p>",
      "votes": 7,
      "replies": [
        {
          "id": 2262634,
          "author_name": "chumajin",
          "author_url": "",
          "post_date": "2023-05-17T04:11:34.587000",
          "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> <br>\nThank you for making it clear! With this, there should be no dispute over this matter even after the competition is over. Moreover, this competition will become even more enjoyable. </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2256817,
      "author_name": "JP Posma",
      "author_url": "",
      "post_date": "2023-05-12T18:31:59.130000",
      "content": "<p>Sorry for the delay, I totally missed this. I'm looking into this with <a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a> and <a href=\"https://www.kaggle.com/wcukierski\" target=\"_blank\">@wcukierski</a>.</p>",
      "votes": 3,
      "replies": [
        {
          "id": 2257504,
          "author_name": "chumajin",
          "author_url": "",
          "post_date": "2023-05-13T12:07:30.430000",
          "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> <br>\nThank you for your response! I feel relieved. Yes, please consult with the staff at Kaggle. I think it may also affect everyone's strategy. Additionally, we would like the competition to end peacefully and without any trouble after it's over.</p>\n<p><a href=\"https://www.kaggle.com/wcukierski\" target=\"_blank\">@wcukierski</a> , <a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a> <br>\nThank you always. Could you please check this and give us the comment? Thank you in advance.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2257851,
      "author_name": "Aisuluu Ulan kyzy",
      "author_url": "",
      "post_date": "2023-05-13T17:33:17.330000",
      "content": "<p>seems so clear, thnx for view</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2250539,
      "author_name": "Kostiantyn Maksymov",
      "author_url": "",
      "post_date": "2023-05-08T15:58:46.160000",
      "content": "<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> any updates on the topic? do you have any final decision?</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2249539,
      "author_name": "Kyle Peters",
      "author_url": "",
      "post_date": "2023-05-07T20:16:49.653000",
      "content": "<p>You should be able to replicate the MLP decoder they use in segformer but attach it to the Swin implementation found in Pytorch.  I've found that the performance is the same even though this implementation isn't pretrained on a segmentation task.  This also wouldn't violate the license as the code isn't copied directly.  </p>",
      "votes": 2,
      "replies": [
        {
          "id": 2250481,
          "author_name": "chumajin",
          "author_url": "",
          "post_date": "2023-05-08T15:23:28.693000",
          "content": "<p><a href=\"https://www.kaggle.com/petersk20\" target=\"_blank\">@petersk20</a> Thank you for sharing your experience. If there are no issues with the license of the MLP decoder itself, that is a good idea, approach and results ! I also want to try challenging myself with something like that.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2247910,
      "author_name": "Jebastin Nadar",
      "author_url": "",
      "post_date": "2023-05-06T11:08:57.210000",
      "content": "<p>Although <code>segmentation-model-pytorch</code> is under MIT License, Mix Vision Transformer has the custom NVIDIA License.<br>\n<a href=\"https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py\" target=\"_blank\">https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py</a><br>\nSo this cannot be used if you are aiming for the prizes.</p>\n<p>As mentioned by <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a>, <code>pvt</code> is a better alternative with Apache-2 License.</p>",
      "votes": 2,
      "replies": [
        {
          "id": 2248297,
          "author_name": "chumajin",
          "author_url": "",
          "post_date": "2023-05-06T17:32:17.783000",
          "content": "<p><a href=\"https://www.kaggle.com/samfc10\" target=\"_blank\">@samfc10</a> <br>\nThank you very much. You are right. I should have confirmed that earlier. I fixed the topic!<br>\nHowever, it seems easy to misuse this, as discussed <a href=\"https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/407119#2247447\" target=\"_blank\">here</a>. </p>\n<p><a href=\"https://www.kaggle.com/jpposma\" target=\"_blank\">@jpposma</a> , staff<br>\nJust to be sure, could you also provide a comment from the host? (to avoid any trouble after the competition ends)</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2253619,
              "author_name": "Lucas",
              "author_url": "",
              "post_date": "2023-05-10T10:39:08.213000",
              "content": "<p>It seems Mix Vision Transformer in SMP can only be used with 3 input channels</p>",
              "votes": 1,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2248934,
      "author_name": "",
      "author_url": "",
      "post_date": "2023-05-07T11:02:01.287000",
      "content": "",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2247605": "@jpposma \n\nThank you for running such a fun competition. I'm enjoying it!\n\nI have tried fine-tuning various models and came across this topics [ref1](https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/399140).\n\nYou stated that it is acceptable to use pre-trained models if they can be reproduced, but the rules of the competition(8-c) [ref2](https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/rules) state that in no event limits commercial use of such code or model.\nTherefore, is it correct to understand that we can only use pre-trained models that are both reproducible and available for commercial use?\n\n\n\nAs an example, there is the huggingface nvidia segformer [ref3](https://huggingface.co/docs/transformers/model_doc/segformer), which is currently not available for commercial use [ref4](https://github.com/NVlabs/SegFormer/blob/master/LICENSE)  (See 3.3)\n, but in a past competition, it was allowed as an exception because the license was changed during the competition [ref5](https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/356201). However, for this competition, this model cannot be used, correct?\n\n~~On the other hand, the imagenet pre-trained segformer from the segmentation-model-pytorch(see Mix Vision Transformer) is believed under the MIT license [ref6](https://github.com/qubvel/segmentation_models.pytorch), so it should be available for use.\nHowever, what I don't understand is that Hugging Face also has pre-trained models for NVIDIA's ImageNet SegFormer [ref7](https://huggingface.co/nvidia/mit-b1), which like before, cannot be used for commercial purposes. I am not sure if these are the same models. Perhaps, since the license for segmentation-model-pytorch is MIT, it should be available for use.~~\n\n→ I have made the correction. It is also believed that segformer (Mix vision transformer) within segmentation-model-pytorch cannot be used for commercial purposes. Although segmentation-model-pytorch is licensed under the MIT license, there is a license for NVIDIA within the Mix Vision Transformer in it. [ref8] (https://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py)\n※  It was stated in the comments. Thank you very much !!\n\nTo summarize, is the following correct?\n\n1. The huggingface nvidia segformer cannot be used. (even if it can be reproduced)\n2. ~~The segformer from the segmentation-model-pytorch can be used. (maybe this is MIT license)~~\n→ I have made the correction. Segformer(Mix Vision Transformer) also cannot be used from segmentation-model-pytorch.\n\nTo avoid confusion after the competition, I would appreciate it if you could confirm my understanding. Thank you.\n",
    "2247787": "if you are using seformer, pvt2 is a good replacement\n\nhttps://arxiv.org/abs/2106.13797\nPVT v2: Improved Baselines with Pyramid Vision Transformer\n\nif you check their papers, backbone MIT and PVTv2 are 98% the same. (mainly the convolutional postional encoding)",
    "2262413": "Sorry that it took a while but we have an answer for you. You ARE allowed to use libraries that have a non-commercial clause in their license. https://www.kaggle.com/competitions/vesuvius-challenge-ink-detection/discussion/410906",
    "2256817": "Sorry for the delay, I totally missed this. I'm looking into this with @ryanholbrook and @wcukierski.",
    "2257851": "seems so clear, thnx for view",
    "2250539": "@jpposma any updates on the topic? do you have any final decision?",
    "2249539": "You should be able to replicate the MLP decoder they use in segformer but attach it to the Swin implementation found in Pytorch.  I've found that the performance is the same even though this implementation isn't pretrained on a segmentation task.  This also wouldn't violate the license as the code isn't copied directly.  ",
    "2247910": "Although `segmentation-model-pytorch` is under MIT License, Mix Vision Transformer has the custom NVIDIA License.\nhttps://github.com/qubvel/segmentation_models.pytorch/blob/master/segmentation_models_pytorch/encoders/mix_transformer.py\nSo this cannot be used if you are aiming for the prizes.\n\nAs mentioned by @hengck23, `pvt` is a better alternative with Apache-2 License.",
    "2248934": ""
  }
}