Your install of scikit-image appears to be broken.

Traceback (most recent call last):
  File "D:/pytorch/mwcnn_pytorch/main_train.py", line 42, in
    from skimage.measure import compare_psnr, compare_ssim
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\__init__.py", line 156, in
    _raise_build_error(e)
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\__init__.py", line 137, in _raise_build_error
    %s""" % (e, msg))
ImportError: cannot import name 'geometry'
It seems that scikit-image has not been built correctly.

Your install of scikit-image appears to be broken.
Try re-installing the package following the instructions at:
http://scikit-image.org/docs/stable/install.html 

 

 

 

pip uninstall scikit-image

 

https://www.lfd.uci.edu/~gohlke/pythonlibs/

 

  • scikit_image‑0.14.1‑cp36‑cp36m‑win_amd64.whl

pip install scikit_image‑0.14.1‑cp36‑cp36m‑win_amd64.whl

Traceback (most recent call last):
  File "D:/pytorch/mwcnn_pytorch/main_train.py", line 42, in
    from skimage.measure import compare_psnr, compare_ssim
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\__init__.py", line 177, in
    from .data import data_dir
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\data\__init__.py", line 18, in
    from ._binary_blobs import binary_blobs
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\data\_binary_blobs.py", line 2, in
    from ..filters import gaussian
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\filters\__init__.py", line 3, in
    from .edges import (sobel, sobel_h, sobel_v,
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\filters\edges.py", line 17, in
    from ..restoration.uft import laplacian
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\restoration\__init__.py", line 6, in
    from .deconvolution import wiener, unsupervised_wiener, richardson_lucy
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\restoration\deconvolution.py", line 10, in
    from scipy.signal import fftconvolve, convolve
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\signal\__init__.py", line 322, in
    from .filter_design import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\signal\filter_design.py", line 18, in
    from scipy import special, optimize, fftpack
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\__init__.py", line 387, in
    from ._minimize import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\_minimize.py", line 30, in
    from ._trustregion_constr import _minimize_trustregion_constr
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\_trustregion_constr\__init__.py", line 4, in
    from .minimize_trustregion_constr import _minimize_trustregion_constr
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\_trustregion_constr\minimize_trustregion_constr.py", line 4, in
    from scipy.sparse.linalg import LinearOperator
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 117, in
    from .eigen import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\__init__.py", line 11, in
    from .arpack import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\__init__.py", line 22, in
    from .arpack import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 45, in
    from . import _arpack
ImportError: DLL load failed: 找不到指定的程序。

Process finished with exit code 1
 

 

 

你可能感兴趣的:(pytorch)