gll89的个人博客分享 http://blog.sciencenet.cn/u/gll89

博文

[转载]DL tricks

已有 1349 次阅读 2019-5-17 21:42 |个人分类:DeepLearning|系统分类:科研笔记|文章来源:转载

  1. normalization using pre-trained vgg

    Q: If I wanna extract features with VGG (pre-trained on the ImageNet) on my dataset, should I subtract the ImageNet mean, or should I calculate my dataset's mean and std firstly? Are there big differences between the ImageNet and other RGB datasets generally?

    A:  Usually if your use case stays in the same data domain, the mean and std won’t be that different and you can try to use the ImageNet statistics.

    I would recommend to use your own data statistics if you are dealing with another domain, e.g. medical images.

    If you are in doubt that the ImageNet stats are a good fit for your data, I would re-calculate them on my dataset.

    From: https://discuss.pytorch.org/t/about-normalization-using-pre-trained-vgg16-networks/23560



https://blog.sciencenet.cn/blog-1969089-1179672.html

上一篇:[转载]functools.partial() in python
下一篇:Famous scholars--medical image analysis and computing
收藏 IP: 60.191.2.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 07:36

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部