个人电脑:
/usr/bin/python3.6 /home/gden/PycharmProjects/improved-gan-master/mnist_svhn_cifar10/train_cifar_feature_matching.py
Traceback (most recent call last):
File "/home/gden/PycharmProjects/improved-gan-master/mnist_svhn_cifar10/train_cifar_feature_matching.py", line 4, in <module>
import theano as th
ModuleNotFoundError: No module named 'theano'
Process finished with exit code 1
conda install pygpu theano 执行后:
Downloading and Extracting Packages
libgpuarray-0.6.9 | 211 KB | ####################################### | 100%
pygpu-0.6.9 | 1.3 MB | ####################################### | 100%
mako-1.0.6 | 115 KB | ####################################### | 100%
theano-0.9.0 | 4.0 MB | ####################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while installing package 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free::libgpuarray-0.6.9-0'.
PermissionError(13, 'Permission denied')
Attempting to roll back.
Rolling back transaction: done
PermissionError(13, 'Permission denied')
sudo env "PATH=$PATH" conda install pygpu theano 最终这样就可以 了。