Giter Site home page Giter Site logo

Comments (8)

WongKinYiu avatar WongKinYiu commented on May 16, 2024 1

you could increase epoch number for start test
https://github.com/WongKinYiu/yolor/blob/main/train.py#L335

or pass conf_thres=0.1 into test function
https://github.com/WongKinYiu/yolor/blob/main/train.py#L336

from yolor.

trungpham2606 avatar trungpham2606 commented on May 16, 2024

@ixez
I have the same problem with you, but then I can train the model by setting the value of rect in here to store_false.
image
But the problem is after nearly 100 epochs; during inference, the model outputs nothing at all.

from yolor.

trungpham2606 avatar trungpham2606 commented on May 16, 2024

Dear @WongKinYiu ,
I have a question, the rect option is set to False as default, so what is the difference between setting it to False or True ?
And when set it to False, I cant train the yolor because of OOM.
I had set the conf_thres=0.0001, the results are so random. The loss during training was around 0.02

from yolor.

WongKinYiu avatar WongKinYiu commented on May 16, 2024

--rect is not suggested to use due to it do not shuffle data in default.
with --rect: no mosaic augmentation, so the gt will be ~1/4, and the memory used for compute loss will reduce to 1/4.

from yolor.

trungpham2606 avatar trungpham2606 commented on May 16, 2024

@WongKinYiu
So with 11Gb memory of card, how can I do to be able to train the yolor ?

from yolor.

ixez avatar ixez commented on May 16, 2024

@WongKinYiu
Thanks for the reply.
Starting testing early doesn't solve the problem, but delays it.
image

Any other insights about the cause?

from yolor.

ixez avatar ixez commented on May 16, 2024

@WongKinYiu Regarding the second advice, is the problem caused by too many bboxes when testing?

from yolor.

janchk avatar janchk commented on May 16, 2024

@WongKinYiu Regarding the second advice, is the problem caused by too many bboxes when testing?

Yes. I figured out that it is.
To fix this you could uncomment this lline

# x = x[x[:, 4].argsort(descending=True)]

And add some clipping for reasonable amount of predictions for example
x = x[0:10000, :]

from yolor.

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.