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

Different Models have different preprocessing needs #32

Closed
avik-pal opened this issue Dec 18, 2018 · 2 comments
Closed

Different Models have different preprocessing needs #32

avik-pal opened this issue Dec 18, 2018 · 2 comments

Comments

@avik-pal
Copy link
Member

Here is a gist for the preprocessing needed for Resnet50 (use the updated model from #17).

The current preprocess function handles VGG and SqueezeNet fine, but ResNet50 needs the inputs scaled between -1 and 1 and NOT -255 to 255.

What would be the proper way to handle this? (Once we add more pretrained models they will have custom preprocessing needs)

@avik-pal
Copy link
Member Author

Even the densenet model seems to have some other preprocessing steps ( none of the above 2 work for it).

@darsnack
Copy link
Member

Closing in favor of #117

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