Exclude ipython from hubconf.py check_requirements() (#9362)
Exclude ipython from hubconf.py `check_requirements()` Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
1 parent
2b5c9a83ec
commit
cafdd18939
1 file changed
+1
-1
+1
-1
@@ -37,7 +37,7 @@ def _create(name, pretrained=True, channels=3, classes=80, autoshape=True, verbo
|
||||
|
||||
if not verbose:
|
||||
LOGGER.setLevel(logging.WARNING)
|
||||
check_requirements(exclude=('tensorboard', 'thop', 'opencv-python'))
|
||||
check_requirements(exclude=('ipython', 'opencv-python', 'tensorboard', 'thop'))
|
||||
name = Path(name)
|
||||
path = name.with_suffix('.pt') if name.suffix == '' and not name.is_dir() else name # checkpoint path
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user