RATCHET icon indicating copy to clipboard operation
RATCHET copied to clipboard

DenseNet121 Pre-trained Weights Error

Open katelyn98 opened this issue 1 year ago • 1 comments

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.

katelyn98 avatar Apr 18 '24 20:04 katelyn98

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!

farrell236 avatar Apr 18 '24 21:04 farrell236