From cdd695a0a020985f2ff2c3c83cfd489e499017a5 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 1 May 2021 17:47:13 +0200 Subject: [PATCH] hubconf.py bug fix Bug fix for problem introduced in #3005 --- hubconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hubconf.py b/hubconf.py index 7f897d15c314..75dcc41af442 100644 --- a/hubconf.py +++ b/hubconf.py @@ -18,7 +18,7 @@ check_requirements(Path(__file__).parent / 'requirements.txt', exclude=('tensorboard', 'pycocotools', 'thop')) -def create(name, pretrained, channels=3, classes=80, autoshape=True, verbose=True): +def create(name, pretrained=True, channels=3, classes=80, autoshape=True, verbose=True): """Creates a specified YOLOv5 model Arguments: