Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training -> Validation Scores constantly decreasing #95

Open
laurenzheidrich opened this issue Oct 21, 2024 · 0 comments
Open

Training -> Validation Scores constantly decreasing #95

laurenzheidrich opened this issue Oct 21, 2024 · 0 comments

Comments

@laurenzheidrich
Copy link

laurenzheidrich commented Oct 21, 2024

First of all, thanks for the great repo!

To understand your repo and training code I have been running the provided example in the Training_Script_example.ipynb on my local workstation with an A6000 GPU. Downloading the data, converting it into the right format and even starting the training works completely fine.

Though, when looking at the metrics during training, I notice that the validation scores are constantly decreasing starting from the first epoch.

Here is the training output of Epoch 0:

image

And the corresponding validation metrics:

image

And here is the training output after Epoch 4:

image

And the corresponding validation metrics:

image

The metrics between epoch 0 and 4 are basically just an interpolation, so the validation results are gradually getting worse. Generally this would mean, that the network is overfitting after already the first epoch, but that doesn't seem right, does it?

I also tried this with a very individual dataset on MRI medical data, and there I observe something very similar. The validation scores in the first epoch are quite low (-> AP around 1%, which makes sense since MRI images are not part of the pretraining data), but then after a few epochs, the AP metrices are all 0.000.

I am not really sure what is going on. Do you have any idea or encountert this behaviour before? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant