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

DenseNet121 Pre-trained Weights Error #5

Open
katelyn98 opened this issue Apr 18, 2024 · 1 comment
Open

DenseNet121 Pre-trained Weights Error #5

katelyn98 opened this issue Apr 18, 2024 · 1 comment

Comments

@katelyn98
Copy link

I am using the pre-trained weights in the classifer/assets/ folder and I get the following error when running the code:

ValueError: The name "zero_padding2d" is used 2 times in the model. All layer names should be unique.

Any help would be appreciated.

@farrell236
Copy link
Owner

farrell236 commented Apr 18, 2024

Hi Katelyn, the pre-trained weights in classifier/assets folder is for the classifier model only, they are not for DenseNet121.

The model weights for RATCHET is located in the main README.md file.

It's also ok to ignore the warning message No Pretrained DenseNet-121 weights specified when restoring RATCHET weights. This was debug message for training if wanting to start from a pretrained densenet (e.g. a densenet trained on chexpert, etc...).

Hope this helps!

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

2 participants