GithubHelp home page GithubHelp logo

About RescaleT about u-2-net HOT 2 CLOSED

xuebinqin avatar xuebinqin commented on May 14, 2024
About RescaleT

from u-2-net.

Comments (2)

xuebinqin avatar xuebinqin commented on May 14, 2024

from u-2-net.

Julyliying avatar Julyliying commented on May 14, 2024

你好,在train的时候把图片resize 到320x320, 一方面是因为batch size在大于一的情况下需要batch内的图像保持统一的spatial size, 另外一方面resize到320x320,有助于network获取更大的感受野(在filter size和pooling operation 一定的情况下),输入图像resize的越小,相对而言感受野越大。在test的时候resize是为了保证其与训练数据在同一scale上。 Randomcrop是为了使得network 对于水平的translation更加的不敏感,从而一定程度上防止过拟合。你可以吧图像resize到320x320,但是分辨率低会对精度有影响,也可以尝试直接用原始分辨率,带来的问题可能是GPU memory不够,同时receptive field相对就变小了,也会影响精度,具体需要尝试,看哪中方式精度高就用哪个。

On Jul 5, 2020, at 9:25 PM, Julyliying @.**> wrote: Xuebin Qin, 您好: 感谢您的分享,真是一项很棒的工作。有一点小疑问想向您请教下,请问您train和test的时候为什么直接把图片resize到(320,320)呢?而不是保持图片的长宽比呢?是跟训练数据有关系还是如果保持长宽比的话,RandomCrop会影响图片中显著性物体的完整性?还是其他什么原因呢?我想训练自己的数据,我的应用场景是19201080分辨率的视频,并有一些该分辨率下的训练数据,请问您觉得train和test的size应该怎样调整最合适呢?多谢您的指点! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#45>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORIMN2WY2ABD47SX2DLR2E73JANCNFSM4ORGI3WQ.

好的。多谢您的解释与回复!!

from u-2-net.

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.