在尝试运行Pylearn2 make\u cifar100时获取“ImportError:cannot import name string”(无法导入名称字符串)_变白.py

2024-05-19 11:31:50 发布

您现在位置:Python中文网/ 问答频道 /正文

当我试图在Pylearn2/scripts/datasets内运行make_cifar100_whitened.py时,我得到:

G:\pylearn2-master\pylearn2\scripts\datasets>make_cifar100_whitened.py
WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
Traceback (most recent call last):
  File "G:\pylearn2-master\pylearn2\scripts\datasets\make_cifar100_whitened.py", line 10, in <module>
    from pylearn2.utils import string
ImportError: cannot import name string

这里怎么了?在


Tags: topymasterstringmakescriptsnottheano

热门问题