{
  "id": 254580,
  "title": "EffNetV2 Weights Dataset Issue Fixed | Please use the new version!",
  "url": "/competitions/siim-covid19-detection/discussion/254580",
  "author_name": "",
  "post_date": "2021-07-22T14:39:05.419229100Z",
  "votes": 16,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi Everyone,</p>\n<p>I noticed an issue with the <strong>EffNetV2 weights dataset</strong> I had created and used in my recent EffNetV2 train and infer notebooks. I have fixed the issue and updated the dataset. So, <strong>please use the updated weights dataset for all of your work.</strong></p>\n<p><strong>I have re-run and saved all the notebooks with the updated EffNetV2 weights dataset as well. The notebooks have no code change</strong>. The only change is to the dataset. <strong>The train notebook will get a CV AUC of over 0.812+ with the updated weights</strong> compared to the 0.805+ before.</p>\n<p>I'm linking the dataset and the notebook which should be used, with the updated dataset version for clarification below:</p>\n<p> 🏷️ EffNetV2 TfHub Weights Dataset - <b>Use v4 or above</b>:</p>\n<blockquote>\n  <p><a href=\"https://www.kaggle.com/sreevishnudamodaran/efficientnetv2-tfhub-weight-files?select=tfhub_models\" target=\"_blank\">EfficientNetV2 TFHub Weight Files</a><br></p>\n</blockquote>\n<p> 🏷️ EffNetV2 Keras Study Level Train notebook - <b>Use v6 or above</b>:</p>\n<blockquote>\n  <p><a href=\"https://www.kaggle.com/sreevishnudamodaran/siim-effnetv2-keras-study-train-tpu-cv0-805\" target=\"_blank\">SIIM EffNetV2 Keras Study Train [TPU CV0.805+]🎏</a><br></p>\n</blockquote>\n<p>Thanks. Have a great day!</p>",
  "messages": [
    {
      "id": "1396850",
      "postDate": "07/22/2021 14:39:05",
      "content": "<p>Hi Everyone,</p>\n<p>I noticed an issue with the <strong>EffNetV2 weights dataset</strong> I had created and used in my recent EffNetV2 train and infer notebooks. I have fixed the issue and updated the dataset. So, <strong>please use the updated weights dataset for all of your work.</strong></p>\n<p><strong>I have re-run and saved all the notebooks with the updated EffNetV2 weights dataset as well. The notebooks have no code change</strong>. The only change is to the dataset. <strong>The train notebook will get a CV AUC of over 0.812+ with the updated weights</strong> compared to the 0.805+ before.</p>\n<p>I'm linking the dataset and the notebook which should be used, with the updated dataset version for clarification below:</p>\n<p> 🏷️ EffNetV2 TfHub Weights Dataset - <b>Use v4 or above</b>:</p>\n<blockquote>\n  <p><a href=\"https://www.kaggle.com/sreevishnudamodaran/efficientnetv2-tfhub-weight-files?select=tfhub_models\" target=\"_blank\">EfficientNetV2 TFHub Weight Files</a><br></p>\n</blockquote>\n<p> 🏷️ EffNetV2 Keras Study Level Train notebook - <b>Use v6 or above</b>:</p>\n<blockquote>\n  <p><a href=\"https://www.kaggle.com/sreevishnudamodaran/siim-effnetv2-keras-study-train-tpu-cv0-805\" target=\"_blank\">SIIM EffNetV2 Keras Study Train [TPU CV0.805+]🎏</a><br></p>\n</blockquote>\n<p>Thanks. Have a great day!</p>",
      "rawMarkdown": "Hi Everyone,\n\nI noticed an issue with the **EffNetV2 weights dataset** I had created and used in my recent EffNetV2 train and infer notebooks. I have fixed the issue and updated the dataset. So, **please use the updated weights dataset for all of your work.**\n\n**I have re-run and saved all the notebooks with the updated EffNetV2 weights dataset as well. The notebooks have no code change**. The only change is to the dataset. **The train notebook will get a CV AUC of over 0.812+ with the updated weights** compared to the 0.805+ before.\n\nI'm linking the dataset and the notebook which should be used, with the updated dataset version for clarification below:\n\n<p style='text-align: left;'><span style=\"color: #000508; font-family: Segoe UI; font-size: 1.1em; font-weight: 600;\"> 🏷️ EffNetV2 TfHub Weights Dataset - <b>Use v4 or above</b>:</span></p>\n\n>  [EfficientNetV2 TFHub Weight Files](https://www.kaggle.com/sreevishnudamodaran/efficientnetv2-tfhub-weight-files?select=tfhub_models)<br>\n\n<p style='text-align: left;'><span style=\"color: #000508; font-family: Segoe UI; font-size: 1.1em; font-weight: 600;\"> 🏷️ EffNetV2 Keras Study Level Train notebook - <b>Use v6 or above</b>:</span></p>\n\n>  [SIIM EffNetV2 Keras Study Train [TPU CV0.805+]🎏](https://www.kaggle.com/sreevishnudamodaran/siim-effnetv2-keras-study-train-tpu-cv0-805)<br>\n\nThanks. Have a great day!",
      "votes": null
    },
    {
      "id": "1397598",
      "postDate": "07/23/2021 10:24:19",
      "content": "<p>Thank you for updating us with this issue ! </p>\n<p>Where does this difference comes from ? Where did find the \"bad\" weights and where di you find the good weights ? </p>\n<p>I'm trying to find a way to get those weights outside a tfhub layer in order to have more flexibility, do you know if that is possible ? </p>",
      "rawMarkdown": "Thank you for updating us with this issue ! \n\nWhere does this difference comes from ? Where did find the \"bad\" weights and where di you find the good weights ? \n\nI'm trying to find a way to get those weights outside a tfhub layer in order to have more flexibility, do you know if that is possible ?",
      "votes": null
    },
    {
      "id": "1397746",
      "postDate": "07/23/2021 13:14:44",
      "content": "<p>thank you so much. i think its good code. I'll use it.</p>",
      "rawMarkdown": "thank you so much. i think its good code. I'll use it.",
      "votes": null
    },
    {
      "id": "1397834",
      "postDate": "07/23/2021 14:17:45",
      "content": "<p>All the weights are from TensorFlow Hub (<a href=\"https://tfhub.dev/\" target=\"_blank\">https://tfhub.dev/</a>)<br>\nThe issue was with the code that I used to download the weights, rename them and put them in directories to create the dataset. Some weight files got interchanged. That was the only issue.</p>\n<p>I saw the other trick you posted to load the weights in the notebook comments 👍👍</p>",
      "rawMarkdown": "All the weights are from TensorFlow Hub (https://tfhub.dev/)\nThe issue was with the code that I used to download the weights, rename them and put them in directories to create the dataset. Some weight files got interchanged. That was the only issue.\n\nI saw the other trick you posted to load the weights in the notebook comments 👍👍",
      "votes": null
    },
    {
      "id": "1400984",
      "postDate": "07/26/2021 19:27:10",
      "content": "<p>Thanks for sharing! </p>",
      "rawMarkdown": "Thanks for sharing!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1397598,
      "author_name": "tomdarmon",
      "author_url": "",
      "post_date": "07/23/2021 10:24:19",
      "content": "<p>Thank you for updating us with this issue ! </p>\n<p>Where does this difference comes from ? Where did find the \"bad\" weights and where di you find the good weights ? </p>\n<p>I'm trying to find a way to get those weights outside a tfhub layer in order to have more flexibility, do you know if that is possible ? </p>",
      "votes": null,
      "replies": [
        {
          "id": 1397834,
          "author_name": "sreevishnudamodaran",
          "author_url": "",
          "post_date": "07/23/2021 14:17:45",
          "content": "<p>All the weights are from TensorFlow Hub (<a href=\"https://tfhub.dev/\" target=\"_blank\">https://tfhub.dev/</a>)<br>\nThe issue was with the code that I used to download the weights, rename them and put them in directories to create the dataset. Some weight files got interchanged. That was the only issue.</p>\n<p>I saw the other trick you posted to load the weights in the notebook comments 👍👍</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1397746,
      "author_name": "tensorchoko",
      "author_url": "",
      "post_date": "07/23/2021 13:14:44",
      "content": "<p>thank you so much. i think its good code. I'll use it.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1400984,
      "author_name": "minhtien1405",
      "author_url": "",
      "post_date": "07/26/2021 19:27:10",
      "content": "<p>Thanks for sharing! </p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1396850": "Hi Everyone,\n\nI noticed an issue with the **EffNetV2 weights dataset** I had created and used in my recent EffNetV2 train and infer notebooks. I have fixed the issue and updated the dataset. So, **please use the updated weights dataset for all of your work.**\n\n**I have re-run and saved all the notebooks with the updated EffNetV2 weights dataset as well. The notebooks have no code change**. The only change is to the dataset. **The train notebook will get a CV AUC of over 0.812+ with the updated weights** compared to the 0.805+ before.\n\nI'm linking the dataset and the notebook which should be used, with the updated dataset version for clarification below:\n\n<p style='text-align: left;'><span style=\"color: #000508; font-family: Segoe UI; font-size: 1.1em; font-weight: 600;\"> 🏷️ EffNetV2 TfHub Weights Dataset - <b>Use v4 or above</b>:</span></p>\n\n>  [EfficientNetV2 TFHub Weight Files](https://www.kaggle.com/sreevishnudamodaran/efficientnetv2-tfhub-weight-files?select=tfhub_models)<br>\n\n<p style='text-align: left;'><span style=\"color: #000508; font-family: Segoe UI; font-size: 1.1em; font-weight: 600;\"> 🏷️ EffNetV2 Keras Study Level Train notebook - <b>Use v6 or above</b>:</span></p>\n\n>  [SIIM EffNetV2 Keras Study Train [TPU CV0.805+]🎏](https://www.kaggle.com/sreevishnudamodaran/siim-effnetv2-keras-study-train-tpu-cv0-805)<br>\n\nThanks. Have a great day!",
    "1397598": "Thank you for updating us with this issue ! \n\nWhere does this difference comes from ? Where did find the \"bad\" weights and where di you find the good weights ? \n\nI'm trying to find a way to get those weights outside a tfhub layer in order to have more flexibility, do you know if that is possible ?",
    "1397746": "thank you so much. i think its good code. I'll use it.",
    "1397834": "All the weights are from TensorFlow Hub (https://tfhub.dev/)\nThe issue was with the code that I used to download the weights, rename them and put them in directories to create the dataset. Some weight files got interchanged. That was the only issue.\n\nI saw the other trick you posted to load the weights in the notebook comments 👍👍",
    "1400984": "Thanks for sharing!"
  },
  "source": "meta"
}