check_font() on notebook init (#9200)
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
f65081c436
commit
fef1913d28
1 file changed
+3
-1
+3
-1
@@ -38,10 +38,12 @@ def notebook_init(verbose=True):
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
from utils.general import check_requirements, emojis, is_colab
|
from utils.general import check_font, check_requirements, emojis, is_colab
|
||||||
from utils.torch_utils import select_device # imports
|
from utils.torch_utils import select_device # imports
|
||||||
|
|
||||||
check_requirements(('psutil', 'IPython'))
|
check_requirements(('psutil', 'IPython'))
|
||||||
|
check_font()
|
||||||
|
|
||||||
import psutil
|
import psutil
|
||||||
from IPython import display # to display images and clear console output
|
from IPython import display # to display images and clear console output
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user