Giter Club home page Giter Club logo

Comments (3)

shicai avatar shicai commented on May 30, 2024

使用原始尺寸的图像做Validation,原始图像不管长宽多少,都可以按比例将其最短边缩放到256,长边是N,然后在这个图像上裁剪最中间的224x224。10 Crops就是在图像里面裁剪10个不同的区域,送入神经网络,然后得到概率然后平均,这样性能会更好。

from densenet-caffe.

HelloTobe avatar HelloTobe commented on May 30, 2024

@shicai Thanks a lot!
1)每次测试都使用原始图像作为,会比用val_lmdb慢很多,而且没法在训练的同时验证;
或是这样:训练前把256xN裁剪得到的224x224图片变成lmdb,这样10个crop得到10个lmdb。
你是怎么做的? 144 crop时以上方法应该都不行,有什么好办法吗?
2)10个输入得到概率取平均,我感觉不能通过python脚本实现,是不是要修改caffe源码?
3)googlenet和resnet等论文里的ensemble model是不是也是多个模型输入取概率平均?

PS:大神能微博私信你吗

from densenet-caffe.

shicai avatar shicai commented on May 30, 2024

做验证的时候,我只用single crop,multi crop的pycaffe代码github到处都是,你自己找下就好了。
ensemble一般都是多个模型,论文中肯定有写用了几个模型,你找找。

from densenet-caffe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.