{
  "id": 342888,
  "title": "Some of the experiments  and some of the ideas; sincerely hope it can help the players",
  "url": "/competitions/mayo-clinic-strip-ai/discussion/342888",
  "author_name": "Leon",
  "post_date": "2022-08-09T08:06:48.851000",
  "votes": 15,
  "comment_count": 12,
  "views": 0,
  "content": "<p>For this competition, I have several thoughts and findings, some confusion and some ideas, I hope to get the discussion and opinions of other contestants:</p>\n<table>\n<thead>\n<tr>\n<th>Differences between different specification models</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- Try to use a large model and a small model to process the same parameters on the image, and the processing results are almost no different</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>Differences between different input sizes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- Try feeding images of different scales into the model for analysis and processing (for img_size in [256,512,768,1024]), and the training results are not too different</td>\n</tr>\n<tr>\n<td>- I think such images may need some detailed features as support.<br>-  However, common sizes such as [256,512,768,1024] are still too small for the model, and too large sizes cannot be directly fed into the neural network due to the limitation of computing resources</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>Try to add attention module</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- did not get very good results</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>Some Different</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- When the learning rate drops to a certain position, the relevant Loss falls into the basin and is difficult to change. I think there are some things to think about here<br>- lr = 0.0001 train_acc=0.74 val_acc= 0.76 <br></td>\n</tr>\n<tr>\n<td>- The approximate value is like this, from 1E-4 to 1E-6 completely unchanged, the value is almost completely unchanged, for example, although the learning rate of multiple epochs training changes, but the output is always 0.7675, 0.7845; Like this:<br>Epoch =0: TARin_ACC = 0.6475, VAL_ACC =0.5978 LR =0.001<br>Epoch =1: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br>Epoch =2: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br>Epoch =3: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.00001<br>Epoch =4: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.000001<br>Different models and parameters may fall into different basins;</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>One last thought</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- In fact, there are also problems in the overall data processing. <br>- The official data storage space is only 20 gigabytes. <br>- If the data set is processed with too many details, the computer will crash during the actual reasoning. - Therefore, I think it is actually difficult to optimize the performance of the overall project by keeping more details of the data. <br>- Perhaps the only way is to use less data detail to improve the score based on the network structure</td>\n</tr>\n</tbody>\n</table>",
  "messages": [
    {
      "id": 1891050,
      "postDate": "2022-08-09T08:06:48.853Z",
      "content": "<p>For this competition, I have several thoughts and findings, some confusion and some ideas, I hope to get the discussion and opinions of other contestants:</p>\n<table>\n<thead>\n<tr>\n<th>Differences between different specification models</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- Try to use a large model and a small model to process the same parameters on the image, and the processing results are almost no different</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>Differences between different input sizes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- Try feeding images of different scales into the model for analysis and processing (for img_size in [256,512,768,1024]), and the training results are not too different</td>\n</tr>\n<tr>\n<td>- I think such images may need some detailed features as support.<br>-  However, common sizes such as [256,512,768,1024] are still too small for the model, and too large sizes cannot be directly fed into the neural network due to the limitation of computing resources</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>Try to add attention module</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- did not get very good results</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>Some Different</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- When the learning rate drops to a certain position, the relevant Loss falls into the basin and is difficult to change. I think there are some things to think about here<br>- lr = 0.0001 train_acc=0.74 val_acc= 0.76 <br></td>\n</tr>\n<tr>\n<td>- The approximate value is like this, from 1E-4 to 1E-6 completely unchanged, the value is almost completely unchanged, for example, although the learning rate of multiple epochs training changes, but the output is always 0.7675, 0.7845; Like this:<br>Epoch =0: TARin_ACC = 0.6475, VAL_ACC =0.5978 LR =0.001<br>Epoch =1: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br>Epoch =2: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br>Epoch =3: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.00001<br>Epoch =4: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.000001<br>Different models and parameters may fall into different basins;</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<table>\n<thead>\n<tr>\n<th>One last thought</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- In fact, there are also problems in the overall data processing. <br>- The official data storage space is only 20 gigabytes. <br>- If the data set is processed with too many details, the computer will crash during the actual reasoning. - Therefore, I think it is actually difficult to optimize the performance of the overall project by keeping more details of the data. <br>- Perhaps the only way is to use less data detail to improve the score based on the network structure</td>\n</tr>\n</tbody>\n</table>",
      "rawMarkdown": "For this competition, I have several thoughts and findings, some confusion and some ideas, I hope to get the discussion and opinions of other contestants:\n\n| Differences between different specification models           |\n| ------------------------------------------------------------ |\n| - Try to use a large model and a small model to process the same parameters on the image, and the processing results are almost no different |\n\n---\n\n| Differences between different input sizes                    |\n| ------------------------------------------------------------ |\n| - Try feeding images of different scales into the model for analysis and processing (for img_size in [256,512,768,1024]), and the training results are not too different |\n| - I think such images may need some detailed features as support.<br />-  However, common sizes such as [256,512,768,1024] are still too small for the model, and too large sizes cannot be directly fed into the neural network due to the limitation of computing resources |\n\n---\n\n| Try to add attention module     |\n| ------------------------------- |\n| - did not get very good results |\n\n---\n\n| Some Different                                               |\n| ------------------------------------------------------------ |\n| - When the learning rate drops to a certain position, the relevant Loss falls into the basin and is difficult to change. I think there are some things to think about here<br />- lr = 0.0001 train_acc=0.74 val_acc= 0.76 <br /> |\n| - The approximate value is like this, from 1E-4 to 1E-6 completely unchanged, the value is almost completely unchanged, for example, although the learning rate of multiple epochs training changes, but the output is always 0.7675, 0.7845; Like this:<br />Epoch =0: TARin_ACC = 0.6475, VAL_ACC =0.5978 LR =0.001<br />Epoch =1: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br />Epoch =2: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br />Epoch =3: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.00001<br />Epoch =4: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.000001<br />Different models and parameters may fall into different basins; |\n\n---\n\n| One last thought                                             |\n| ------------------------------------------------------------ |\n| - In fact, there are also problems in the overall data processing. <br />- The official data storage space is only 20 gigabytes. <br />- If the data set is processed with too many details, the computer will crash during the actual reasoning. - Therefore, I think it is actually difficult to optimize the performance of the overall project by keeping more details of the data. <br />- Perhaps the only way is to use less data detail to improve the score based on the network structure |\n\n\n\n",
      "votes": 15
    },
    {
      "id": 1898652,
      "postDate": "2022-08-14T17:50:14.907Z",
      "content": "<p>Thank you so much for sharing your discoveries so far in training a model for this competition. I've got a question regarding your choice of accuracy as an evaluation metric. Based on <a href=\"https://www.kaggle.com/abhishek\" target=\"_blank\">@abhishek</a>'s book, Approach Almost Any Machine Learning Problem, I used the AUC score. The decision is based on the following quote from his book,</p>\n<blockquote>\n  <p>As a data doctor would say: this is a classic case of skewed binary classification. Therefore, we choose the evaluation metric to be AUC and go for a stratified k-fold cross-validation scheme.</p>\n</blockquote>\n<p>Here are two links that discuss the topic in blog posts:<br>\n<a href=\"https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/\" target=\"_blank\">https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/</a><br>\n<a href=\"https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/\" target=\"_blank\">https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/</a></p>\n<p>My question then is, have you tried other metrics? I've been basing my iteration of models on the improvement of the AUC score. I've been quite frustrated with transformers due to the AUC score being worse for ViT in comparison to something like random forest (AUC=0.51, 0.52).</p>",
      "rawMarkdown": "Thank you so much for sharing your discoveries so far in training a model for this competition. I've got a question regarding your choice of accuracy as an evaluation metric. Based on @abhishek's book, Approach Almost Any Machine Learning Problem, I used the AUC score. The decision is based on the following quote from his book,\n\n> As a data doctor would say: this is a classic case of skewed binary classification. Therefore, we choose the evaluation metric to be AUC and go for a stratified k-fold cross-validation scheme.\n\nHere are two links that discuss the topic in blog posts:\n[https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/](https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/)\n[https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/](https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/)\n\nMy question then is, have you tried other metrics? I've been basing my iteration of models on the improvement of the AUC score. I've been quite frustrated with transformers due to the AUC score being worse for ViT in comparison to something like random forest (AUC=0.51, 0.52).",
      "votes": 1,
      "replies": [
        {
          "id": 1903729,
          "postDate": "2022-08-17T15:54:25.507Z",
          "content": "<table>\n<thead>\n<tr>\n<th>Leon' s  Reply</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- In fact, I personally think that CNN and TF should have stronger performance in this respect than  forest;</td>\n</tr>\n<tr>\n<td>- But oddly enough, there are a number of these forest-like practices in Kaggle competitions that are more powerful in terms of accuracy and speed;</td>\n</tr>\n<tr>\n<td>- And I personally don't think it's overfitting or anything like that.</td>\n</tr>\n<tr>\n<td>- In terms of indicators, I don't really have a lot of ideas.</td>\n</tr>\n</tbody>\n</table>",
          "rawMarkdown": "| Leon' s  Reply                                               |\n| ------------------------------------------------------------ |\n| - In fact, I personally think that CNN and TF should have stronger performance in this respect than  forest; |\n| - But oddly enough, there are a number of these forest-like practices in Kaggle competitions that are more powerful in terms of accuracy and speed; |\n| - And I personally don't think it's overfitting or anything like that. |\n| - In terms of indicators, I don't really have a lot of ideas. |",
          "votes": 1
        },
        {
          "id": 1904056,
          "postDate": "2022-08-17T23:20:07.110Z",
          "content": "<p>I'm guessing one stand-out thing is that RF is probably much simpler to train in comparison to a neural network with its many architectures. I still think that there are certain models with a specific tuning out there that have the potential to do just fine, but I lack the skills myself to build and run such designs. </p>",
          "rawMarkdown": "I'm guessing one stand-out thing is that RF is probably much simpler to train in comparison to a neural network with its many architectures. I still think that there are certain models with a specific tuning out there that have the potential to do just fine, but I lack the skills myself to build and run such designs. "
        },
        {
          "id": 1914674,
          "postDate": "2022-08-26T09:46:29.327Z",
          "content": "<h1> </h1>\n<pre><code>- In fact , i have tried many ways to get a loss-function can solve us question ; Firstly i tried many relative fc in the package-sklearn , but the scores were similar to the original function ; Than i make some fc by myself based on the competition, the score is also below before.\n</code></pre>",
          "rawMarkdown": "# \n\n```\n- In fact , i have tried many ways to get a loss-function can solve us question ; Firstly i tried many relative fc in the package-sklearn , but the scores were similar to the original function ; Than i make some fc by myself based on the competition, the score is also below before.\n```\n\n"
        }
      ]
    },
    {
      "id": 1905979,
      "postDate": "2022-08-19T13:53:09.533Z",
      "content": "<p>I am not entirely sure where to ask this question:  How do you know how many artificial neurons to put in a layer? Is there a formula?</p>",
      "rawMarkdown": "I am not entirely sure where to ask this question:  How do you know how many artificial neurons to put in a layer? Is there a formula?"
    },
    {
      "id": 1893700,
      "postDate": "2022-08-11T02:26:43.870Z",
      "content": "<p>The input images are too large to apply ML DL methods directly.<br>\nI think essential to pre-process the images and extract (crop, cut) <br>\nessential image elements before using ML.<br>\nHas anyone succeeded in such pre-processing/ image elements extraction <br>\nto generate more trainable data?</p>",
      "rawMarkdown": "The input images are too large to apply ML DL methods directly.\nI think essential to pre-process the images and extract (crop, cut) \nessential image elements before using ML.\nHas anyone succeeded in such pre-processing/ image elements extraction \nto generate more trainable data?",
      "replies": [
        {
          "id": 1893779,
          "postDate": "2022-08-11T04:30:49.033Z",
          "content": "<p>For some sample images, you can extract more patches than others. You can then random sample among those patches to generate a different series of patches for a single gigantic image.</p>",
          "rawMarkdown": "For some sample images, you can extract more patches than others. You can then random sample among those patches to generate a different series of patches for a single gigantic image."
        },
        {
          "id": 1894381,
          "postDate": "2022-08-11T12:58:03.493Z",
          "rawMarkdown": "",
          "votes": 1,
          "isDeleted": true
        },
        {
          "id": 1894911,
          "postDate": "2022-08-11T19:35:53.697Z",
          "content": "<p>Yes, that's what I was thinking.<br>\nLet's not worry about submission for now. <br>\nHow big was your image patches and how many image patches did you generate per slide? <br>\nI would imagine using many small image patches like 224x224 to feed into DL pipeline…<br>\nDid you save image patches on the disk before ML processing?</p>",
          "rawMarkdown": "Yes, that's what I was thinking.\nLet's not worry about submission for now. \nHow big was your image patches and how many image patches did you generate per slide? \nI would imagine using many small image patches like 224x224 to feed into DL pipeline...\nDid you save image patches on the disk before ML processing?\n"
        },
        {
          "id": 1895087,
          "postDate": "2022-08-12T00:37:04.580Z",
          "content": "<table>\n<thead>\n<tr>\n<th>Leon' s  Reply</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- I'm creating patches on the image</td>\n</tr>\n<tr>\n<td>- However, in order to maintain the original randomness, my patch generation is indeed relatively large, basically within the range of size in [3000,30000];</td>\n</tr>\n<tr>\n<td>- But by infer, I can't infer the hardware ； I don't think it should break through the computer hardware</td>\n</tr>\n</tbody>\n</table>",
          "rawMarkdown": "| Leon' s  Reply                                               |\n| ------------------------------------------------------------ |\n| - I'm creating patches on the image                          |\n| - However, in order to maintain the original randomness, my patch generation is indeed relatively large, basically within the range of size in [3000,30000]; |\n| - But by infer, I can't infer the hardware ； I don't think it should break through the computer hardware |\n|                                                              |"
        },
        {
          "id": 1904085,
          "postDate": "2022-08-18T00:15:09.480Z",
          "content": "<p>Did you try creating much more image samples but smaller size of image, to massively pass through the ML process?<br>\nI would think about 100k small patch images.<br>\nI would think images needs to be saved offload on the disk temporarily as the won't fit in main memory.  </p>",
          "rawMarkdown": "Did you try creating much more image samples but smaller size of image, to massively pass through the ML process?\nI would think about 100k small patch images.\nI would think images needs to be saved offload on the disk temporarily as the won't fit in main memory.  "
        }
      ]
    },
    {
      "id": 1894379,
      "postDate": "2022-08-11T12:57:14.263Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1898652,
      "author_name": "yqz",
      "author_url": "",
      "post_date": "2022-08-14T17:50:14.907000",
      "content": "<p>Thank you so much for sharing your discoveries so far in training a model for this competition. I've got a question regarding your choice of accuracy as an evaluation metric. Based on <a href=\"https://www.kaggle.com/abhishek\" target=\"_blank\">@abhishek</a>'s book, Approach Almost Any Machine Learning Problem, I used the AUC score. The decision is based on the following quote from his book,</p>\n<blockquote>\n  <p>As a data doctor would say: this is a classic case of skewed binary classification. Therefore, we choose the evaluation metric to be AUC and go for a stratified k-fold cross-validation scheme.</p>\n</blockquote>\n<p>Here are two links that discuss the topic in blog posts:<br>\n<a href=\"https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/\" target=\"_blank\">https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/</a><br>\n<a href=\"https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/\" target=\"_blank\">https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/</a></p>\n<p>My question then is, have you tried other metrics? I've been basing my iteration of models on the improvement of the AUC score. I've been quite frustrated with transformers due to the AUC score being worse for ViT in comparison to something like random forest (AUC=0.51, 0.52).</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1903729,
          "author_name": "Leon",
          "author_url": "",
          "post_date": "2022-08-17T15:54:25.507000",
          "content": "<table>\n<thead>\n<tr>\n<th>Leon' s  Reply</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- In fact, I personally think that CNN and TF should have stronger performance in this respect than  forest;</td>\n</tr>\n<tr>\n<td>- But oddly enough, there are a number of these forest-like practices in Kaggle competitions that are more powerful in terms of accuracy and speed;</td>\n</tr>\n<tr>\n<td>- And I personally don't think it's overfitting or anything like that.</td>\n</tr>\n<tr>\n<td>- In terms of indicators, I don't really have a lot of ideas.</td>\n</tr>\n</tbody>\n</table>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1904056,
          "author_name": "yqz",
          "author_url": "",
          "post_date": "2022-08-17T23:20:07.110000",
          "content": "<p>I'm guessing one stand-out thing is that RF is probably much simpler to train in comparison to a neural network with its many architectures. I still think that there are certain models with a specific tuning out there that have the potential to do just fine, but I lack the skills myself to build and run such designs. </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1914674,
          "author_name": "Leon",
          "author_url": "",
          "post_date": "2022-08-26T09:46:29.327000",
          "content": "<h1> </h1>\n<pre><code>- In fact , i have tried many ways to get a loss-function can solve us question ; Firstly i tried many relative fc in the package-sklearn , but the scores were similar to the original function ; Than i make some fc by myself based on the competition, the score is also below before.\n</code></pre>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1905979,
      "author_name": "mbmlearner",
      "author_url": "",
      "post_date": "2022-08-19T13:53:09.533000",
      "content": "<p>I am not entirely sure where to ask this question:  How do you know how many artificial neurons to put in a layer? Is there a formula?</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1893700,
      "author_name": "Igiku124",
      "author_url": "",
      "post_date": "2022-08-11T02:26:43.870000",
      "content": "<p>The input images are too large to apply ML DL methods directly.<br>\nI think essential to pre-process the images and extract (crop, cut) <br>\nessential image elements before using ML.<br>\nHas anyone succeeded in such pre-processing/ image elements extraction <br>\nto generate more trainable data?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1893779,
          "author_name": "hjunlee941",
          "author_url": "",
          "post_date": "2022-08-11T04:30:49.033000",
          "content": "<p>For some sample images, you can extract more patches than others. You can then random sample among those patches to generate a different series of patches for a single gigantic image.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1894381,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-08-11T12:58:03.493000",
          "content": "",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1894911,
          "author_name": "Igiku124",
          "author_url": "",
          "post_date": "2022-08-11T19:35:53.697000",
          "content": "<p>Yes, that's what I was thinking.<br>\nLet's not worry about submission for now. <br>\nHow big was your image patches and how many image patches did you generate per slide? <br>\nI would imagine using many small image patches like 224x224 to feed into DL pipeline…<br>\nDid you save image patches on the disk before ML processing?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1895087,
          "author_name": "Leon",
          "author_url": "",
          "post_date": "2022-08-12T00:37:04.580000",
          "content": "<table>\n<thead>\n<tr>\n<th>Leon' s  Reply</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>- I'm creating patches on the image</td>\n</tr>\n<tr>\n<td>- However, in order to maintain the original randomness, my patch generation is indeed relatively large, basically within the range of size in [3000,30000];</td>\n</tr>\n<tr>\n<td>- But by infer, I can't infer the hardware ； I don't think it should break through the computer hardware</td>\n</tr>\n</tbody>\n</table>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1904085,
          "author_name": "Igiku124",
          "author_url": "",
          "post_date": "2022-08-18T00:15:09.480000",
          "content": "<p>Did you try creating much more image samples but smaller size of image, to massively pass through the ML process?<br>\nI would think about 100k small patch images.<br>\nI would think images needs to be saved offload on the disk temporarily as the won't fit in main memory.  </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1894379,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-08-11T12:57:14.263000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1891050": "For this competition, I have several thoughts and findings, some confusion and some ideas, I hope to get the discussion and opinions of other contestants:\n\n| Differences between different specification models           |\n| ------------------------------------------------------------ |\n| - Try to use a large model and a small model to process the same parameters on the image, and the processing results are almost no different |\n\n---\n\n| Differences between different input sizes                    |\n| ------------------------------------------------------------ |\n| - Try feeding images of different scales into the model for analysis and processing (for img_size in [256,512,768,1024]), and the training results are not too different |\n| - I think such images may need some detailed features as support.<br />-  However, common sizes such as [256,512,768,1024] are still too small for the model, and too large sizes cannot be directly fed into the neural network due to the limitation of computing resources |\n\n---\n\n| Try to add attention module     |\n| ------------------------------- |\n| - did not get very good results |\n\n---\n\n| Some Different                                               |\n| ------------------------------------------------------------ |\n| - When the learning rate drops to a certain position, the relevant Loss falls into the basin and is difficult to change. I think there are some things to think about here<br />- lr = 0.0001 train_acc=0.74 val_acc= 0.76 <br /> |\n| - The approximate value is like this, from 1E-4 to 1E-6 completely unchanged, the value is almost completely unchanged, for example, although the learning rate of multiple epochs training changes, but the output is always 0.7675, 0.7845; Like this:<br />Epoch =0: TARin_ACC = 0.6475, VAL_ACC =0.5978 LR =0.001<br />Epoch =1: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br />Epoch =2: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.0001<br />Epoch =3: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.00001<br />Epoch =4: TARin_ACC = 0.7645, VAL_ACC =0.7331 LR =0.000001<br />Different models and parameters may fall into different basins; |\n\n---\n\n| One last thought                                             |\n| ------------------------------------------------------------ |\n| - In fact, there are also problems in the overall data processing. <br />- The official data storage space is only 20 gigabytes. <br />- If the data set is processed with too many details, the computer will crash during the actual reasoning. - Therefore, I think it is actually difficult to optimize the performance of the overall project by keeping more details of the data. <br />- Perhaps the only way is to use less data detail to improve the score based on the network structure |\n\n\n\n",
    "1898652": "Thank you so much for sharing your discoveries so far in training a model for this competition. I've got a question regarding your choice of accuracy as an evaluation metric. Based on @abhishek's book, Approach Almost Any Machine Learning Problem, I used the AUC score. The decision is based on the following quote from his book,\n\n> As a data doctor would say: this is a classic case of skewed binary classification. Therefore, we choose the evaluation metric to be AUC and go for a stratified k-fold cross-validation scheme.\n\nHere are two links that discuss the topic in blog posts:\n[https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/](https://machinelearningmastery.com/failure-of-accuracy-for-imbalanced-class-distributions/)\n[https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/](https://machinelearningmastery.com/tour-of-evaluation-metrics-for-imbalanced-classification/)\n\nMy question then is, have you tried other metrics? I've been basing my iteration of models on the improvement of the AUC score. I've been quite frustrated with transformers due to the AUC score being worse for ViT in comparison to something like random forest (AUC=0.51, 0.52).",
    "1905979": "I am not entirely sure where to ask this question:  How do you know how many artificial neurons to put in a layer? Is there a formula?",
    "1893700": "The input images are too large to apply ML DL methods directly.\nI think essential to pre-process the images and extract (crop, cut) \nessential image elements before using ML.\nHas anyone succeeded in such pre-processing/ image elements extraction \nto generate more trainable data?",
    "1894379": ""
  }
}