Comments (8)
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.
@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.
But the problem is after nearly 100 epochs; during inference, the model outputs nothing at all.
from yolor.
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.
--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.
@WongKinYiu
So with 11Gb memory of card, how can I do to be able to train the yolor ?
from yolor.
@WongKinYiu
Thanks for the reply.
Starting testing early doesn't solve the problem, but delays it.
Any other insights about the cause?
from yolor.
@WongKinYiu Regarding the second advice, is the problem caused by too many bboxes when testing?
from yolor.
@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
Line 336 in b168a4d
And add some clipping for reasonable amount of predictions for example
x = x[0:10000, :]
from yolor.
Related Issues (20)
- Pickling error - _pickle.UnpicklingError: invalid load key, '<'. HOT 4
- RuntimeError: result type Float can't be cast to the desired output type long int HOT 2
- rm: cannot remove './cookie': No such file or directory HOT 1
- Traceback (most recent call last): File "train.py", line 506, in <module> opt.data, opt.cfg, opt.hyp = check_file(opt.data), check_file(opt.cfg), check_file(opt.hyp) # check files File "/content/yolor/utils/general.py", line 74, in check_file assert len(files) == 1, "Multiple files match '%s', specify exact path: %s" % (file, files) # assert unique AssertionError: Multiple files match '../Rdata.yaml', specify exact path: ['./mish-cuda/../Rdata.yaml', './darknet/../Rdata.yaml', './scripts/../Rdata.yaml', './figure/../Rdata.yaml', './valid/../Rdata.yaml', './test/../Rdata.yaml', './data/../Rdata.yaml', './pytorch_wavelets/../Rdata.yaml', './models/../Rdata.yaml', './cfg/../Rdata.yaml', './train/../Rdata.yaml', './__pycache__/../Rdata.yaml', './inference/../Rdata.yaml', './utils/../Rdata.yaml']
- AssertionError: > 5 label columns:
- Issue with using W & B HOT 1
- what should be the ideal mAP0.95 should be? HOT 2
- Custom Dataset Finetuning training and Targets value is not real
- how do I integrate my custom Yolor model with flask
- Bounding box size is off HOT 2
- Inference result blank for both branches HOT 1
- YoloR-CSP Test with yolor-csp.cfg not working
- RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu) HOT 1
- Question: what is the function of pretrained weight
- Can model be defined by nn.Sequential or does it need to use nn.ModuleList HOT 5
- pretrained weights are offline HOT 4
- YOLOR-CSP Weights Link/Download HOT 3
- metrics are zero during training
- YoloR_w6.pt does not open
- Problem on running detect.py on Jetson B01
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolor.