TIO-IKIM / CellViT

CellViT: Vision Transformers for Precise Cell Segmentation and Classification
https://doi.org/10.1016/j.media.2024.103143
Other
217 stars 33 forks source link

Loss not decrease on Lizard dataset #15

Closed Lewislou closed 1 year ago

Lewislou commented 1 year ago

Hi, I tried to train the cellvit-sam-h or cellvit-vit256 on the lizard dataset for nuclei classification, but consider all the tissue types are the same for convenience. But the loss can not decrease. Why is that? Are there any configurations that I need to change? I have already set all the parameters as the value mentioned in the paper.

Here is the loss: image

Here is the full settings: logging: mode: online project: cellvit_brca notes: '' log_comment: null tags:

FabianHoerst commented 1 year ago

We have not trained on the Lizzard dataset, thus I cannot give you any advice on how to train on Lizzard. I assume you need to tweak the hyperparameters to find an appropriate setting. For Lizzard, the tissue type prediction is also not necessary.

Other than that, you should follow common Machine Learning project steps to find the best setting and eliminate common errors:

FabianHoerst commented 1 year ago

:bangbang: We are currently fixing a bug in the training pipeline that prevents the network from training. Maybe this could cause to the problem when training lizzard :bangbang:

If you find a bug, please report it to us as fast as possible

FabianHoerst commented 1 year ago

The bug has been fixed. Please try again. Otherwise, reopen the issue.