keras-team / keras-hub

Pretrained model hub for Keras 3
Apache License 2.0
804 stars 243 forks source link

Expunge include_rescaling from backbones #1859

Closed mattdangerw closed 2 months ago

mattdangerw commented 2 months ago

Since our models include built in preprocessing, it is much clearer for this rescaling to happen in the preprocessing layers.

mattdangerw commented 2 months ago

Thanks! Tests looking good. I'll regenerate the resnet preset, update the links, and land this.

james77777778 commented 2 months ago

Should we rename this layer to something like ImagePreprocessor, since we are combining resizing, rescaling, and normalization into one?