Open halqadasi opened 6 months ago
@halqadasi Hi, how do you fix that, I checked my code and think it's registered once
Is this where arising the warning?
@XHao1997 Yes, I think this line, but multiple lines register the model. I had no choice, thus I suppressed these warnings without any solution.
I solved this problem by downgrade package timm version from 0.9.16 to 0.9.2 And, I have tested that the last version is 0.9.10 which do not print this warning.
Hello,
I've encountered a recurring warning when working with the tiny_vit_sam.py script in the SAM repository. It seems like there's a conflict with model registration where models are being overwritten in the registry. This issue arises when different models with the same name are registered multiple times.
The script throws warnings indicating that it's overwriting models in the registry. This might lead to confusion or potential issues, especially in cases where different model versions are expected to coexist.
I hope this information is helpful for resolving this issue. Thank you for your attention to this matter.