Glenn Jocher
f9bb984e81
Add ClearML minimum version requirement ( #9933 )
...
* Add ClearML minimum version requirement
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update README.md
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update README.md
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-10-26 14:06:05 +02:00
Glenn Jocher
7a69035eb8
Update Loggers ( #9760 )
...
* Update
* Update tutorial.ipynb
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update tutorial.ipynb
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update tutorial.ipynb
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update requirements.txt
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update
* Update README.md
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-10-12 12:53:12 +02:00
c98128fe71
Allow list for Comet artifact class 'names' field ( #9654 )
...
* Update __init__.py
In the Comet logger, when I run train.py, it wants to download the data artifact. It was requiring me to format the 'names' field in the data artifact metadata as a dictionary, so I've changed this so that it also accepts a list.
Signed-off-by: KristenKehrer <34010022+KristenKehrer@users.noreply.github.com >
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update utils/loggers/comet/__init__.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Signed-off-by: KristenKehrer <34010022+KristenKehrer@users.noreply.github.com >
Signed-off-by: KristenKehrer <34010022+KristenKehrer@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-10-03 00:25:10 +02:00
Soumik Rakshit and pre-commit-ci[bot]
0860e58557
Disabled upload_dataset flag temporarily due to an artifact related bug ( #9652 )
...
* disabled upload_dataset flag temporarily due to an artifact related bug
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-29 23:01:45 +02:00
Glenn Jocher
639d82fbab
Update Comet links ( #9587 )
...
* Update Comet links
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update tutorial.ipynb
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update README.md
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-09-25 20:12:57 +02:00
Glenn Jocher
c8e52304cf
New scale_segments() function ( #9570 )
...
* Rename scale_coords to scale_boxes
* add scale_segments
2022-09-24 16:02:41 +02:00
Dhruv Nair
0b724c5b85
Comet Image Logging Fix ( #9498 )
...
fix issues with image logging
2022-09-19 17:26:19 +02:00
Glenn Jocher and pre-commit-ci[bot]
ca9c993d6c
Standardize warnings with WARNING ⚠️ ... ( #9467 )
...
* Standardize warnings
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-18 16:15:25 +02:00
Glenn Jocher and pre-commit-ci[bot]
95cef1ae6b
Optimize imports ( #9464 )
...
* Optimize imports
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Reformat
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-18 12:42:23 +02:00
Dhruv Nair
5f075eedf2
Comet changes ( #9328 )
...
* add link to comte tutorial from main README
* fix prediction interval bug
2022-09-08 18:17:14 +03:00
903b239f13
Comet Logging and Visualization Integration ( #9232 )
...
* add comet to logger interface
* add comet logger
* add support for updated parameters
* clean up offline logger creation
* update callback args for comet logger
* add comet optimizer
* add optimizer config
* add comet README
* update tutorial notebook with Comet section
* add option to log class level metrics
* add support for class level metrics and confusion matrix
* handle errors when adding files to artifacts
* fix typo
* clean resume workflow
* updates for HPO
* update comet README
* fix typo in comet README
* update code snippets in comet README
* update comet links in tutorial
* updated links
* change optimizer batch size param and update comet README image
* update comet section in tutorial
* use prexisting cmd line flags to configure logger
* update artifact upload/download flow
* remove come remove comet logger specific cmd line args
* move downloading weights into comet logger code
* remove extra argparse
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change checkpoint logging flow to follow offline logger
* update resume flow
* add comet logger to remote dataset property
* update cmd line args in hpo
* set types for integer/float env variables
* update README
* fix typo in README
* default to always logging model predictions
* Update tutorial.ipynb
* Update train.py
* Add Comet to Integrations table
* Update README.md
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com >
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-07 18:28:46 +03:00
Victor Sonck and pre-commit-ci[bot]
5cb9fe612a
Make sure best.pt model file is preserved ClearML ( #9265 )
...
* Make sure best.pt model file is preserved ClearML
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-03 20:49:25 +02:00
2d082a07bd
Refactor Loggers : Move code outside train.py ( #9241 )
...
* update
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update
* update
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-09-01 19:17:36 +02:00
cf5d9cbc33
ClearML's set_report_period's time is defined in minutes not seconds. ( #9186 )
...
* ClearML's set_report_period's time is defined in minutes not seconds.
https://clear.ml/docs/latest/docs/references/sdk/hpo_optimization_hyperparameteroptimizer/#set_report_period
set_report_period function takes in time in terms of minutes, not seconds.
Signed-off-by: HighMans <42877729+HighMans@users.noreply.github.com >
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: HighMans <42877729+HighMans@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-29 14:58:55 +02:00
HighMans
ffbce3858a
Fix confidence threshold for ClearML debug images ( #9174 )
...
* Fix confidence threshold
The confidence is converted to a percentage on line 144, but it is being compared to a default conf_threshold value of a decimal value instead of percent value.
Signed-off-by: HighMans <42877729+HighMans@users.noreply.github.com >
* Revert "Fix confidence threshold"
This reverts commit f84a09967f83d70626ca8dfe7625dce60fb0102e.
* Fix confidence comparison
Fix the confidence percentage is being compared to a decimal value.
Signed-off-by: HighMans <42877729+HighMans@users.noreply.github.com >
2022-08-27 01:39:11 +02:00
Glenn Jocher
f0e5a608f5
Add CSV logging to GenericLogger ( #9128 )
...
Enable CSV logging for Classify training.
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-24 12:31:50 +02:00
f8816f58b7
Infer Loggers project name ( #9117 )
...
* smart project name inference
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update __init__.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-24 12:15:37 +02:00
Glenn Jocher
db2ee5fa0c
De-thread TensorBoard graph logging ( #9071 )
...
* De-thread TensorBoard graph logging
Issues with Classification models
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update __init__.py
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-21 17:07:56 +02:00
Glenn Jocher
8665d557c1
Threaded TensorBoard graph logging ( #9070 )
...
* Log TensorBoard graph on pretrain_routine_end
* fix
2022-08-21 16:51:50 +02:00
0zppd and Glenn Jocher
87e8deadd5
zero-mAP fix remove torch.empty() forward pass in .train() mode ( #9068 )
...
* Fix Zero Map Issue
Signed-off-by: 0zppd <111682241+0zppd@users.noreply.github.com >
* Update __init__.py
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: 0zppd <111682241+0zppd@users.noreply.github.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-21 15:40:28 +02:00
Glenn Jocher and pre-commit-ci[bot]
e0700cce77
Daemon plot_labels() for faster start ( #9057 )
...
* Daemon `plot_labels()` for faster start
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-21 03:47:37 +02:00
Glenn Jocher
93f63ee33f
Refactor for simplification 2 ( #9055 )
...
* Refactor for simplification 2
* Update __init__.py
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-21 02:00:35 +02:00
Glenn Jocher
61adf017f2
torch.empty() for speed improvements (#9025 )
...
`torch.empty()` for speed improvement
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-18 20:12:33 +02:00
d3ea0df8b9
New YOLOv5 Classification Models ( #8956 )
...
* Update
* Logger step fix: Increment step with epochs (#8654 )
* enhance
* revert
* allow training from scratch
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update --img argument from train.py
single line
* fix image size from 640 to 128
* suport custom dataloader and augmentation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* format
* Update dataloaders.py
* Single line return, single line comment, remove unused argument
* address PR comments
* fix spelling
* don't augment eval set
* use fstring
* update augmentations.py
* new maning convention for transforms
* reverse if statement, inline ops
* reverse if statement, inline ops
* updates
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update dataloaders
* Remove additional if statement
* Remove is_train as redundant
* Cleanup
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleanup2
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update classifier.py
* Update augmentations.py
* fix: imshow clip warning
* update
* Revert ToTensorV2 removal
* Update classifier.py
* Update normalize values, revert uint8
* normalize image using cv2
* remove dedundant comment
* Update classifier.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* replace print with logger
* commit steps
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Allow logging models from GenericLogger (#8676 )
* enhance
* revert
* allow training from scratch
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update --img argument from train.py
single line
* fix image size from 640 to 128
* suport custom dataloader and augmentation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* format
* Update dataloaders.py
* Single line return, single line comment, remove unused argument
* address PR comments
* fix spelling
* don't augment eval set
* use fstring
* update augmentations.py
* new maning convention for transforms
* reverse if statement, inline ops
* reverse if statement, inline ops
* updates
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update dataloaders
* Remove additional if statement
* Remove is_train as redundant
* Cleanup
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleanup2
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update classifier.py
* Update augmentations.py
* fix: imshow clip warning
* update
* Revert ToTensorV2 removal
* Update classifier.py
* Update normalize values, revert uint8
* normalize image using cv2
* remove dedundant comment
* Update classifier.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* replace print with logger
* commit steps
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* support final model logging
* update
* update
* update
* update
* remove curses
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update classifier.py
* Update __init__.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
* Update
* Update
* Update
* Update
* Update dataset download
* Update dataset download
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Pass imgsz to classify_transforms()
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Cos scheduler
* Cos scheduler
* Remove unused args
* Update
* Add seed
* Add seed
* Update
* Update
* Add run(), main()
* Merge master
* Merge master
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Create YOLOv5 BaseModel class (#8829 )
* Create BaseModel
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix
* Hub load device fix
* Update
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add experiment
* Merge master
* Attach names
* weight decay = 1e-4
* weight decay = 5e-5
* update smart_optimizer console printout
* fashion-mnist fix
* Merge master
* Update Table
* Update Table
* Remove destroy process group
* add kwargs to forward()
* fuse fix for resnet50
* nc, names fix for resnet50
* nc, names fix for resnet50
* ONNX CPU inference fix
* revert
* cuda
* if augment or visualize
* if augment or visualize
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* New smart_inference_mode()
* Update README
* Refactor into /classify dir
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* reset defaults
* reset defaults
* fix gpu predict
* warmup
* ema half fix
* spacing
* remove data
* remove cache
* remove denormalize
* save run settings
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* verbose false on initial plots
* new save_yaml() function
* Update ci-testing.yml
* Path(data) CI fix
* Separate classification CI
* fix val
* fix val
* fix val
* smartCrossEntropyLoss
* skip validation on hub load
* autodownload with working dir root
* str(data)
* Dataset usage example
* im_show normalize
* im_show normalize
* add imagenet simple names to multibackend
* Add validation speeds
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* 24-space names
* Update bash scripts
* Update permissions
* Add bash script arguments
* remove verbose
* TRT data fix
* names generator fix
* optimize if names
* update usage
* Add local loading
* Verbose=False
* update names printing
* Add Usage examples
* Add Usage examples
* Add Usage examples
* Add Usage examples
* named_children
* reshape_classifier_outputs
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update
* update
* fix CI
* fix incorrect class substitution
* fix incorrect class substitution
* remove denormalize
* ravel fix
* cleanup
* update opt file printing
* update opt file printing
* update defaults
* add opt to checkpoint
* Add warning
* Add comment
* plot half bug fix
* Use NotImplementedError
* fix export shape report
* Fix TRT load
* cleanup CI
* profile comment
* CI fix
* Add cls models
* avoid inplace error
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix usage examples
* Update README
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
* Update README
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-17 11:59:01 +02:00
3456fe65c6
Fix torchvision dependency for ClearML logging ( #8993 )
...
* Replace torchvision annotator with native local Annotator
* Add colored bounding boxes and rewrite for efficiency
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix pep8 issue
* Update clearml_utils.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update clearml_utils.py
* Reduced conf_threshold to 0.25 to match defaults
The 0.25 default conf threshold value is used a default throughout YOLOv5 (i.e. in detect.py) and also in other tools like CoreML
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-17 11:51:07 +02:00
Glenn Jocher
7ab1f50633
Scope torchvision.utils.draw_bounding_boxes import ( #8915 )
...
* Scope `torchvision.utils.draw_bounding_boxes` import
Quick fix for https://github.com/ultralytics/yolov5/issues/8898#issuecomment-1208851874 until a more permanent fix is implemented
* Update clearml_utils.py
2022-08-09 20:29:25 +02:00
Glenn Jocher
f5335f22bb
Capitalize YouTube ( #8903 )
2022-08-08 20:36:18 +02:00
Glenn Jocher
8f28ea4945
emoji-safe default logging ( #8888 )
...
* emoji-safe default logging
* implement everywhere
2022-08-06 12:30:08 +02:00
378bde4bba
ClearML experiment tracking integration ( #8620 )
...
* Add titles to matplotlib plots
* Add ClearML Experiment Tracking integration.
* Add ClearML Data Version Management automatic download when requested
* Add ClearML Hyperparameter Optimization
* ClearML save period integration
* Fix wandb breaking when used with ClearML dataset
* Fix wandb breaking when used with ClearML resume and dataset
* Add ClearML documentation
* fixed small bug in clearml integration that misreports epoch number
* Final ClearMl additions before refactor
* Add correct epoch reporting
* Add remote execution and autoscaling docs for ClearML integration
* Added images to clearml integration docs
* fixed logo alignment bug and added hpo screenshot clearml
* Fixed small epoch number bug in clearml integration
* Remove saved model flush clearml
* Cleanup clearml readme section
* Cleaned up clearml logger docstring
* Remove resume readme section clearml
* Clearml integration cleanup
* Updated ClearML documentation
* Added dark vs light icons ClearML Readme
* Clearml Readme styling
* Add better gifs
* Fixed gif file size
* Add better images in tutorial notebook
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Addressed comments in PR #8620
* Fixed circular import
* Fixed circular import
* Update tutorial.ipynb
* Update tutorial.ipynb
* Inline comment
* Restructured tutorial notebook
* Add correct ClearML link to README
* Update tutorial.ipynb
* Update general.py
* Update __init__.py
* Update __init__.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update __init__.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update __init__.py
* Update README.md
* Update __init__.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* spelling
* Update tutorial.ipynb
* notebook cutt.ly links
* Update README.md
* Update README.md
* cutt.ly links in tutorial
* Removed labels as they show up on last subplot only
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-08-05 20:50:49 +02:00
Rüdiger Busche
602d7ffb0e
Check TensorBoard logger before adding graph ( #8664 )
...
Otherwise, an error is thrown if the tensorboard logger is not included.
2022-07-21 17:40:53 +02:00
Glenn Jocher
f00071416f
Refactor collections and fstrings ( #7821 )
...
* Update torch_utils.py
* Additional code refactoring
* tuples to sets
* Cleanup
2022-05-15 16:38:26 +02:00
Glenn Jocher and pre-commit-ci[bot]
4a295b1a89
Add @threaded decorator ( #7813 )
...
* Add `@threaded` decorator
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-14 16:12:08 +02:00
Glenn Jocher
9d8ed37df7
Rename utils/datasets.py > utils/dataloaders.py ( #7799 )
2022-05-13 14:34:16 +02:00
Glenn Jocher
aa7a0e91b1
Update on_train_end callback ( #7716 )
2022-05-05 21:25:13 -07:00
Glenn Jocher
b53917de8d
Remove tqdm.auto ( #7599 )
2022-04-26 15:00:01 -07:00
4cac1cfc8f
Add --noplots flag to suppress figures and images logging ( #7534 )
...
* support nomedia
* support nomedia for validation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update train.py
* Revert no plot evolve
evolve plots do not contain any images
* Revert plot_results
contains no media
* Update wandb_utils.py
* sync-bn cleanup
* Cleanup
* Rename nomedia -> noplots
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-04-22 15:04:08 -07:00
c264795f50
Add mdformat to precommit checks and update other version ( #7529 )
...
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update CONTRIBUTING.md
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update README.md
* Update README.md
* Update README.md
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-04-22 13:36:27 -07:00
74aaab3312
Add version warning for wandb ( #7385 )
...
* add version warning
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleanup
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update __init__.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-04-12 11:46:56 +02:00
Glenn Jocher
446e6f563a
Rename 'MacOS' to 'macOS' ( #7349 )
2022-04-08 23:05:15 +02:00
Nick Martin and Glenn Jocher
a88a81469a
Copy wandb param dict before training to avoid overwrites ( #7317 )
...
* Copy wandb param dict before training to avoid overwrites.
Copy the hyperparameter dict retrieved from wandb configuration before passing it to `train()`. Training overwrites parameters in the dictionary (eg scaling obj/box/cls gains), which causes the values reported in wandb to not match the input values. This is confusing as it makes it hard to reproduce a run, and also throws off wandb's Bayesian sweep algorithm.
* Cleanup
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-04-06 18:35:33 +02:00
Glenn Jocher
245d6459a9
Add callbacks ( #7315 )
...
* Add `on_train_start()` callback
* Update
* Update
2022-04-06 17:23:34 +02:00
Glenn Jocher
f735458987
Use tqdm.auto ( #7311 )
2022-04-06 12:20:24 +02:00
pre-commit-ci[bot] and Glenn Jocher
7882950577
[pre-commit.ci] pre-commit suggestions ( #7279 )
...
* [pre-commit.ci] pre-commit suggestions
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1 )
- [github.com/pre-commit/mirrors-yapf: v0.31.0 → v0.32.0](https://github.com/pre-commit/mirrors-yapf/compare/v0.31.0...v0.32.0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update yolo.py
* Update activations.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update activations.py
* Update tf.py
* Update tf.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-04-04 22:47:00 +02:00
c3d5ac151e
precommit: yapf ( #5494 )
...
* precommit: yapf
* align isort
* fix
# Conflicts:
# utils/plots.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update setup.cfg
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update setup.cfg
* Update setup.cfg
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update wandb_utils.py
* Update augmentations.py
* Update setup.cfg
* Update yolo.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update val.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* simplify colorstr
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* val run fix
* export.py last comma
* Update export.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update hubconf.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* PyTorch Hub tuple fix
* PyTorch Hub tuple fix2
* PyTorch Hub tuple fix3
* Update setup
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-03-31 16:52:34 +02:00
d115bbf509
Fix cv2.imwrite on non-ASCII paths ( #7139 )
...
* Fix imwrite on non-ASCII paths
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update general.py
* Update __init__.py
* Update __init__.py
* Update datasets.py
* Update hubconf.py
* Update detect.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update general.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-03-25 13:25:30 +01:00
yeshanliu and Glenn Jocher
bc3ed957ce
np.fromfile() Chinese image paths fix (#6979 )
...
* 🎉 🆕 now can read Chinese image path.
use "cv2.imdecode(np.fromfile(f, np.uint8), cv2.IMREAD_COLOR)" instead of "cv2.imread(f)" for Chinese image path.
* Update datasets.py
* Update __init__.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com >
2022-03-23 15:35:15 +01:00
Glenn Jocher
9e75cbf4c1
Update __init__.py ( #7065 )
2022-03-20 18:17:04 +01:00
Glenn Jocher
e278fd63ec
Update W&B message to LOGGER.info() ( #7064 )
2022-03-20 18:15:22 +01:00
Glenn Jocher
4728840745
Update --cache disk deprecate *_npy/ dirs ( #6876 )
...
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Cleanup
* Cleanup
2022-03-06 16:16:17 +01:00
Louis Combaldieu
bcc92e2169
Update sweep.yaml ( #6825 )
...
* Update sweep.yaml
Changed focal loss gamma search range between 1 and 4
* Update sweep.yaml
lowered the min value to match default
2022-03-04 09:39:23 +01:00