首页 > 解决方案 > 导入库实用程序

问题描述

我正在研究图像分类并为此目的使用 Google colab。但是当我想导入以下模块时,它会抛出一个错误。

from utils import show_test_cases, test_case_checker, perform_computation

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-9-ff42356cc1b5> in <module>()
----> 1 from utils import show_test_cases, test_case_checker, perform_computation

ImportError: cannot import name 'show_test_cases'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

标签: pythonimage-classification

解决方案


推荐阅读