Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
191 views
in Technique[技术] by (71.8m points)

python - ResNet preprocessing function not implemented?

I wanted to implement a pretrained ResNet in my Framework. For that, I want to use the ResNet-18. Since it is not available on Keras I used the one on Github: https://github.com/qubvel/classification_models

I was wondering if the preprocessing of the Input even does anything with that implementation since the preprocessing function for the ResNet models is implemented like this:

def preprocess_input(x, **kwargs):
    return x

Since I want to use the ResNet to extract features, shouldn't the images need to be preprocessed before I feed them to the network?

question from:https://stackoverflow.com/questions/65847059/resnet-preprocessing-function-not-implemented

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...