791 Commits

Author SHA1 Message Date
stone99
b8f656742d
feat: add rtmp support (#1009)
* feat: add rtmp support

* Update detect.py

pass tuple to source.startswith()

Co-authored-by: ryan.fu <ryan.fu@aylaasia.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2020-09-22 11:37:49 -07:00
Glenn Jocher
4fce0096fa model.add_nms() method 2020-09-20 16:31:40 -07:00
Glenn Jocher
2f77cf33f6 .fuse() additional error checking 2020-09-20 12:04:20 -07:00
Glenn Jocher
89655a84f2 .fuse() gradient introduction bug fix 2020-09-20 11:57:19 -07:00
Glenn Jocher
c4cb78570c add NMS to pretrained pytorch hub models 2020-09-18 18:17:11 -07:00
Glenn Jocher
5a9c5c1d3b add mosaic and warmup to hyperparameters (#931) 2020-09-13 14:08:06 -07:00
Glenn Jocher
f1c63e2784 add mosaic and warmup to hyperparameters (#931) 2020-09-13 14:03:54 -07:00
Glenn Jocher
806e75f2b1 self.label_files bug fix (#958) 2020-09-13 11:38:23 -07:00
Glenn Jocher
6062bb7dee print self.yaml['nc'] override update 2020-09-11 17:44:11 -07:00
Glenn Jocher
a62a45b2dd prevent testloader caching on --notest 2020-09-11 16:59:13 -07:00
tomguluson92
35dc935504
remove nn.Conv2d in default settings (#949) 2020-09-11 16:35:48 -07:00
Glenn Jocher
c54e39464c
check_file() assert unique 2020-09-11 14:33:06 -07:00
Glenn Jocher
720645d96a LoadImagesAndLabels() /images/ to /labels/ fix (#928) 2020-09-10 12:29:05 -07:00
Glenn Jocher
d49c52eee3 _RepeatSampler outside of InfiniteDataLoader 2020-09-10 12:27:35 -07:00
Glenn Jocher
bb8872ea5f Dockerfile sudo docker "kill all" bug fix 2020-09-08 00:56:35 -07:00
Glenn Jocher
cab36f72a8 add .git to .dockerignore 2020-09-06 22:53:12 -07:00
Glenn Jocher
9c0efdde9f glob.glob(recursive=True) search (#917) 2020-09-06 22:52:28 -07:00
Glenn Jocher
c8e51812a5 hyp evolution force-autoanchor fix 2020-09-04 13:13:10 -07:00
Glenn Jocher
c687d5c129 reorganize train initialization steps 2020-09-04 12:25:53 -07:00
Glenn Jocher
bc1fd13a7a gsutil cp hyp evolution bug fix (#876) 2020-09-03 20:29:08 -07:00
Glenn Jocher
44cdcc7e0b hyp['anchors'] evolution update 2020-09-03 12:54:22 -07:00
Glenn Jocher
ffe9eb4238 remove if platform.system() == 'Darwin' checks 2020-09-03 11:41:33 -07:00
Glenn Jocher
23a7f29e2d Update hyp.finetune.yaml on 306 VOC generations result 2020-09-03 01:20:30 -07:00
Glenn Jocher
0a0675da12 Merge remote-tracking branch 'origin/master' 2020-09-03 01:07:48 -07:00
Glenn Jocher
354a97e4ef Create sotabench.py 2020-09-03 01:06:59 -07:00
NanoCode012
d8274d0434
Fix results_file not renaming (#903) 2020-09-03 00:47:50 -07:00
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
2020-09-02 15:08:43 -07:00
Glenn Jocher
d68179953d Update export.py 2020-09-02 13:23:29 -07:00
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>
2020-09-02 09:05:31 -07:00
tkianai
c5969f79f5
add support for DWConv fuse operation (#898)
* the value should be a list to unpacking

* filter the None labels

* update readme to remove apex dependency

* add support for DWConv fuse operation
2020-09-01 22:18:42 -07:00
Glenn Jocher
d3f9bf2bb7 Update datasets.py 2020-09-01 17:02:47 -07:00
NanoCode012
901243c780
Fix relative path for VOC download (#880)
Cleaned up code
2020-08-31 16:06:10 -07:00
Glenn Jocher
3e04d20c7d Merge remote-tracking branch 'origin/master' 2020-08-31 11:07:00 -07:00
Glenn Jocher
f06e2d518c opt.image_weights bug fix (#885) 2020-08-31 11:05:37 -07:00
NanoCode012
1e15aad6f9
Add InfiniteDataLoader class (#876)
* Add InfiniteDataLoader

Only initializes at first epoch. Saves time.

* Moved class to a better location
2020-08-31 11:01:25 -07:00
Glenn Jocher
69ff781ca5 opt.img_weights bug fix (#885) 2020-08-31 10:33:07 -07:00
Glenn Jocher
987c226849 seaborn plotting correlogram addition 2020-08-29 15:13:58 -07:00
Glenn Jocher
08e97a2f88 Update hyperparameters to add lrf, anchors 2020-08-28 14:58:43 -07:00
rafale77
9776e70988
torch.ops.torchvision.nms (#860)
Don't load the entire torchvision library just for nms when the function is already in the torch library.
2020-08-27 11:13:41 -07:00
Glenn Jocher
0c01afc390 Update Dockerfile to upgrade pip 2020-08-26 14:44:43 -07:00
Glenn Jocher
62e037419f Update Dockerfile FROM nvcr.io/nvidia/pytorch:20.08-py3 2020-08-26 00:44:34 -07:00
Glenn Jocher
31d6c389f2 Update general.py plot_evolution() 2020-08-25 23:08:14 -07:00
Glenn Jocher
1e7674d4dd Update export.py --img-size comment 2020-08-25 23:07:22 -07:00
Glenn Jocher
a21bd0687c Update train.py forward simplification 2020-08-25 13:48:03 -07:00
Willie Maddox
455f7b8f76
Update general.py (#823)
Fixes #822

`init_seeds` from `torch_utils` import is being overwritten by function `init_seeds` in `general.py`
2020-08-25 13:01:17 -07:00
Glenn Jocher
5a7d79fbe6
Update general.py bbox_iou() with eps improvements (#736)
eps reduced to 1e-9 for additional precaution.
2020-08-25 12:56:39 -07:00
Glenn Jocher
82ed33a052 generalize webcam detection with opt.source.isnumeric() (yolov3 #1462) 2020-08-25 11:07:38 -07:00
Glenn Jocher
09402a2174 torch.from_tensor() bug fix 2020-08-25 03:14:17 -07:00
Glenn Jocher
4fb8cb353f Update export.py with v3.0 Hardswish() support (#831) 2020-08-24 21:59:26 -07:00
Glenn Jocher
4d7f222f73 Update export.py with v3.0 Hardswish() support 2020-08-24 21:47:49 -07:00