9 Commits
Author SHA1 Message Date
Yonghye Kwon bc69220782 remove unused variable in def compute_loss function (#1659)
remove unused variable in def compute_loss function
2021-01-13 09:13:13 -08:00
Yonghye KwonandGlenn Jocher 20b2671de0 cleanup (#963)
* cleanup

cleanup

* Update train.py

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2020-03-26 14:46:17 -07:00
Yonghye KwonandGlenn Jocher 145ea67a2e modify h range clip range in hsv augmentation (#825)
* h range clip range edit in hsv augmentation

h range is [0., 179,]

* Update datasets.py

reduced indexing operations and used inplace clip for hsv. Two clips are used unfortunately (double clip of axis 0), but the overall effect should be improved speed.

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2020-02-07 09:14:55 -08:00
Yonghye Kwon 7f6bb9a39f efficient calling test dataloader during training (#688)
* efficient calling test dataloader

efficient calling test dataloader

* efficient calling test dataloader during training

efficient calling test dataloader during training

* Update test.py

* Update train.py

* Update train.py
2019-12-04 23:02:10 -08:00
Yonghye Kwon 333cf92bb2 Replace EmptyLayer with nn.Sequential (#420)
* Replace EmptyLayer with nn.Sequential

* Update models.py

* Update models.py
2019-08-03 13:24:14 +02:00
Yonghye Kwon 2a284aacd0 Cleanup- edit for Readability (#417)
Cleanup- edit for Readability
2019-08-02 14:49:08 +02:00
Yonghye Kwon 97edba0b7a Remove Unused Argument of parser : --var (#408)
Remove Unused Argument of parser : --var
2019-07-31 14:05:43 +02:00
Yonghye Kwon ccf757b3ea changed the criteria for the best weight file (#356)
* changed the criteria for the best weight file

changed the criteria for the best weight file from loss to mAP

I trained the model on my custom dataset. But I failed to get a good results when I load the weight file that has the lowest loss on test dataset. 

I thought that the loss used in YOLO is not proper criteria for detection performance. So I changed the criteria from loss to mAP.

what do you think of this?

* Update train.py
2019-07-02 12:24:18 +02:00
Yonghye Kwon 37fe87ccd9 cleanup- delete a variable "yolo_layer_count" (#347) 2019-06-26 11:10:52 +02:00