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

mobile-yolo模型图片预处理 #82

Open
lightfate opened this issue Jul 4, 2019 · 3 comments
Open

mobile-yolo模型图片预处理 #82

lightfate opened this issue Jul 4, 2019 · 3 comments

Comments

@lightfate
Copy link

lightfate commented Jul 4, 2019

你好!
想请教下你关于第三个mobile+yolo模型的问题,一般来说网上提供的mobilenet训练好的模型,其图片输入都有做归一化,例如类似:normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],std=[0.229, 0.224, 0.225])。想问下你训练所用的mobilenet模型是否也是其他人预训练好的,如果是你是否也有做类似的归一化。

@Stinky-Tofu
Copy link
Owner

用的官方提供的imagenet预训练权重 @lightfate

@lightfate
Copy link
Author

用的官方提供的imagenet预训练权重 @lightfate
那对于输入的图片是否有进行Normalize处理呢,类似:normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],std=[0.229, 0.224, 0.225])这样的,还是只是将输入的img除以255.0将其归一化到[0-1]之间

@Stinky-Tofu
Copy link
Owner

@lightfate 归一化影响不大吧

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