Glenn Jocher
791dadb51c
Pycocotools best.pt after COCO train ( #1616 )
* Pycocotools best.pt after COCO train
* cleanup
před 3 roky
Glenn Jocher
b6ed1104a6
Daemon thread plotting ( #1561 )
* Daemon thread plotting
* remove process_batch
* plot after print
před 4 roky
Glenn Jocher
9728e2b8ae
--image_weights bug fix ( #1524 )
před 4 roky
Glenn Jocher
bde5d9aaaa
Update caching ( #1496 )
před 4 roky
Glenn Jocher
0822cda781
Update caching ( #1496 )
před 4 roky
Glenn Jocher
0a3ff71ae0
Confusion matrix ( #1474 )
* initial commit
* add plotting
* matrix to cpu
* bug fix
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* seaborn pandas to requirements.txt
* seaborn pandas to requirements.txt
* update wandb plotting
* remove pandas
* if plots
* if plots
* if plots
* if plots
* if plots
* initial commit
* add plotting
* matrix to cpu
* bug fix
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* update plot
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* seaborn pandas to requirements.txt
* seaborn pandas to requirements.txt
* update wandb plotting
* remove pandas
* if plots
* if plots
* if plots
* if plots
* if plots
* Cat apriori to autolabels
* cleanup
před 4 roky
asim266
9ef4760b74
Rename precision_recall_curve.png bug fix ( #1431 )
* fix error in train.py line 400, changed precision-recall_curve.png to precision_recall_curve.png and fix error in test.py of {wandb.init() before wandb.log()} by importing wand and initializing it before wand.log()
* Update test.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
9c91aeae10
W&B logging add hyperparameters ( #1399 )
* W&B logging add hyperparameters
* hyp bug fix and image logging updates
* if plots and wandb:
* cleanup
* wandb/ gitignore add
* cleanup 2
* cleanup 3
* move wandb import to top of file
* wandb evolve
* update import
* wandb.run.finish()
* default anchors: 3
před 4 roky
Glenn Jocher
0c26c4e831
Increase pycocotools robustness ( #1396 )
před 4 roky
Glenn Jocher
fe341fa44d
Utils reorganization ( #1392 )
* Utils reorganization
* Add new utils files
* cleanup
* simplify
* reduce datasets.py
* remove evolve.sh
* loadWebcam cleanup
před 4 roky
Glenn Jocher
379396e896
Yaml constructor posixpath --resume bug fix ( #1390 )
* resume fix for yaml constructor posixpath error
* fix update
* remove weights/ dir backup
před 4 roky
Glenn Jocher
c4addd7761
Unified '/project/name' results saving ( #1377 )
* Project/name update
* Update ci-testing.yml
* address project with path separator failure mode
* Project/name update
* address project with path separator failure mode
* Update ci-testing.yml
* detect.py default --name bug fix
* missing rstrip PR
* train/exp0 to train/exp
před 4 roky
Glenn Jocher
ce3872f86c
W&B evolution bug fix ( #1373 )
před 4 roky
Khiem Doan
1c8464e199
Use pathlib instead of low-level module ( #1329 )
* Use pathlib instead of low-level module
* Use pathlib instead of low-level module
* Update detect.py
* Update test.py
* reformat
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
4821d076e2
Increment train, test, detect runs/ ( #1322 )
* Increment train, test, detect runs/
* Update ci-testing.yml
* inference/images to data/images
* move images
* runs/exp to runs/train/exp
* update 'results saved to %s' str
před 4 roky
Junghoon Kim
187f7c2ed1
Change optimizer parameters group method ( #1239 )
* Change optimizer parameters group method
* Add torch nn
* Change isinstance method(torch.Tensor to nn.Parameter)
* parameter freeze fix, PEP8 reformat
* freeze bug fix
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Ayush Chaurasia
96fcde40b8
W&B feature improvements ( #1258 )
* W&B feature improvements
This PR add:
* Class to id labels. Now, the caption of bounding boxes will display the class name and the class confidence score.
* The project name is set to "Yolov5" and the run name will be set to opt.logdir
* cleanup
* remove parenthesis on caption
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Ayush Chaurasia
ca290dca24
Weights & Biases (W&B) Feature Addition ( #1235 )
* Add wandb metric logging and bounding box debugging
* Improve formatting, readability
* Remove mutliple path for init, improve formatting
* Add wandb params
* Remove typecasting in bbox coordinates and reformat
* Cleanup
* add wandb to requirements.txt
* minor updates to test.py
* general reorg
* reduce --log-imgs to 10
* clean wandb import
* reverse wandb import assert
* add except AssertionError to try import
* move wandb init to all global ranks
* replace print() with logger.info()
* replace print() with logger.info()
* move wandb.init() bug fix
* project PosixPath to basename bug fix
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
453acdec67
Update tensorboard logging
před 4 roky
Jirka Borovec
c67e72200e
fix compatibility for hyper config ( #1146 )
* fix/hyper
* Hyp giou check to train.py
* restore general.py
* train.py overwrite fix
* restore general.py and pep8 update
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
4d3680c81d
Minor import and spelling updates ( #1133 )
před 4 roky
Jirka Borovec
00917a6225
update expt name comment and folder parsing for training ( #978 )
* comment
* fix parsing
* fix evolve
* folder
* tqdm
* Update train.py
* Update train.py
* reinstate anchors into meta dict
anchor evolution is working correctly now
* reinstate logger
prefer the single line readout for concise logging, which helps simplify notebook and tutorials etc.
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
0ada058f63
Generalized regression criterion renaming ( #1120 )
před 4 roky
Glenn Jocher
5fac5ad165
Precision-Recall Curve Feature Addition ( #1107 )
* initial commit
* Update general.py
Indent update
* Update general.py
refactor duplicate code
* 200 dpi
před 4 roky
Glenn Jocher
66676eb039
init_torch_seeds >> init_seeds bug fix
před 4 roky
Glenn Jocher
f1c63e2784
add mosaic and warmup to hyperparameters ( #931 )
před 4 roky
Glenn Jocher
a62a45b2dd
prevent testloader caching on --notest
před 4 roky
Glenn Jocher
c8e51812a5
hyp evolution force-autoanchor fix
před 4 roky
Glenn Jocher
c687d5c129
reorganize train initialization steps
před 4 roky
Glenn Jocher
44cdcc7e0b
hyp['anchors'] evolution update
před 4 roky
NanoCode012
d8274d0434
Fix results_file not renaming ( #903 )
před 4 roky
Glenn Jocher
281d78c105
Update train.py ( #902 )
* Update train.py with simplified ckpt names
* Return default hyps to hyp.scratch.yaml
Leave line commented for future use once mystery of best finetuning hyps to apply becomes clearer.
* Force test_batch*_pred.jpg replot on final epoch
This will allow you to see predictions final testing run after training completes in runs/exp0
před 4 roky
Naman Gupta
6f3db5e662
Remove autoanchor and class checks on resumed training ( #889 )
* Class frequency not calculated on resuming training
Calculation of class frequency is not needed when resuming training.
Anchors can still be recalculated whether resuming or not.
* Check rank for autoanchor
* Update train.py
no autoanchor checks on resume
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
f06e2d518c
opt.image_weights bug fix ( #885 )
před 4 roky
Glenn Jocher
69ff781ca5
opt.img_weights bug fix ( #885 )
před 4 roky
Glenn Jocher
08e97a2f88
Update hyperparameters to add lrf, anchors
před 4 roky
Glenn Jocher
a21bd0687c
Update train.py forward simplification
před 4 roky
Glenn Jocher
09402a2174
torch.from_tensor() bug fix
před 4 roky
Glenn Jocher
83dc540b1d
remove ema.ema hasattr(ema, 'module') check
před 4 roky
Glenn Jocher
4447f4b937
--resume to same runs/exp directory ( #765 )
* initial commit
* add weight backup dir on resume
před 4 roky
NanoCode012
fb4fc8cd02
Fix ema attribute error in DDP mode ( #775 )
* Fix ema error in DDP mode
* Update train.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
ebafd1ead5
single command --resume ( #756 )
* single command --resume
* else check files, remove TODO
* argparse.Namespace()
* tensorboard lr
* bug fix in get_latest_run()
před 4 roky
Glenn Jocher
916d4aad9a
v3.0 Release ( #725 )
* initial commit
* remove yolov3-spp from test.py study
* update study --img range
* update mAP
* cleanup and speed updates
* update README plot
před 4 roky
NanoCode012
0892c44bc4
Fix Logging ( #719 )
* Add logging setup
* Fix fusing layers message
* Fix logging does not have end
* Add logging
* Change logging to use logger
* Update yolo.py
I tried this in a cloned branch, and everything seems to work fine
* Update yolo.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Marc
a925f283a7
max workers for dataloader ( #722 )
před 4 roky
NanoCode012
4949401a94
Fix redundant outputs via Logging in DDP training ( #500 )
* Change print to logging
* Clean function set_logging
* Add line spacing
* Change leftover prints to log
* Fix scanning labels output
* Fix rank naming
* Change leftover print to logging
* Reorganized DDP variables
* Fix type error
* Make quotes consistent
* Fix spelling
* Clean function call
* Add line spacing
* Update datasets.py
* Update train.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
před 4 roky
Glenn Jocher
e71fd0ec0b
Model freeze capability ( #679 )
před 4 roky
Glenn Jocher
8e5c66579b
update train.py remove save_json final_epoch
před 4 roky
Glenn Jocher
41523e2c91
Dataset autodownload feature addition ( #685 )
* initial commit
* move download scripts into data/scripts
* new check_dataset() function in general.py
* move check_dataset() out of with context
* Update general.py
* DDP update
* Update general.py
před 4 roky
NanoCode012
3d8ed0a76b
Fix missing model.stride in DP and DDP mode ( #683 )
před 4 roky