-
Notifications
You must be signed in to change notification settings - Fork 52
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
output masks consistently showing the same structure #60
Comments
Thank you for this interesting work. I have trained this model from scratch using medical images. When evaluating the model, all the output masks (# of masks used = 8) consistently show the same structure with different intensity. Have you seen this issue using natural images? Any idea what could cause this? Thank you. |
Hi @aryaabdi, |
I get the same issue. @xvjiarui Can you help please? |
Hi all, Sorry for the late reply. If you are training with specific domain images, I would suggest you start with pre-training on large scale natural images first. And the contrastive loss needs large batch size and large dataset to work. |
I tried training from scratch and also from the pre-trained (on natural images) model. The latter performed better. However, I realized the contrastive loss is not going to be effective if the number of entities within a batch is limited. I believe @xvjiarui can use a very large batch size because the training dataset contains many different entities. For example, gcc3m contains ~16k different entities. This was not the case in my training dataset and I think that is why I was not getting the desired behavior. Hope this helps. |
No description provided.
The text was updated successfully, but these errors were encountered: