ModuleNotFoundError: No module named ‘skimage‘

Traceback (most recent call last):
File “train_alexnet.py”, line 17, in
import datagenerator
File “/home/fangxian/CIFAR_10/datagenerator.py”, line 50, in
from skimage import io # ImportError: DLL load failed: 找不到指定的模块。
ModuleNotFoundError: No module named ‘skimage’

The reason is that things are missing: the so-called skimage.io module is not installed, so you can install it with the following command:

pip install scikit-image

apt-get install python-skimage

Choose one of the above two methods to install this package.

Guess you like

Origin blog.csdn.net/weixin_44517301/article/details/114982591