Giter Club home page Giter Club logo

训练的数据增强里我看你crop的都是长宽比1:1的,然后直接resize成320*240这种比例,为啥输入的比例是320*240这种的,不应该方形更符合数据增强的策略吗 about ultra-light-fast-generic-face-detector-1mb HOT 3 CLOSED

linzaer avatar linzaer commented on May 13, 2024
训练的数据增强里我看你crop的都是长宽比1:1的,然后直接resize成320*240这种比例,为啥输入的比例是320*240这种的,不应该方形更符合数据增强的策略吗

from ultra-light-fast-generic-face-detector-1mb.

Comments (3)

Linzaer avatar Linzaer commented on May 13, 2024

输入原图一般是16:9,缩放形变小。crop是原图正方形,之后resize训练,坐标都是按比例的,影响不大,而且320x240推理速度还快点。

from ultra-light-fast-generic-face-detector-1mb.

yokings avatar yokings commented on May 13, 2024

测试的时候输入是16:9的然后resize成320240,训练的时候等于是1:1的resize成320240,等于训练和测试的时候输入分别是1:1和16:9,感觉这个形变还是很大的吧

from ultra-light-fast-generic-face-detector-1mb.

Linzaer avatar Linzaer commented on May 13, 2024

有一定的形变,但是h/w=1 的几率是很小的,你也可以认为这边几乎没做randomcrop来加强大人脸检出,反而一定程度上可以略微加强鲁棒性。也改过其他的纵横比,效果差不多甚至更差一点,其他纵横比形变不见的小,当然你可以试下2/3<w/h<3/2的比率或者输入变为320x320正方形训练,不过这样计算量要大30%,精度应该会提升一点。

from ultra-light-fast-generic-face-detector-1mb.

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.