python - 导入错误: No module named vis (Python )?

标签 python theano

你好,我尝试运行我的 python 代码,错误是:

Traceback (most recent call last):
  File "/home/anelmad/Desktop/simulation/Theano-Tutorials-master/3_net.py", line 5, in <module>
    from foxhound.utils.vis import grayscale_grid_vis, unit_scale
ImportError: No module named vis**

知道我已经正确安装了foxhound。

import theano

from theano import tensor as T

import numpy as np

from load import mnist

from foxhound.utils.vis import grayscale_grid_vis, unit_scale

from scipy.misc import imsave

最佳答案

猎狐犬是 scikit 吗?如果是,则它不包含 utils 模块。你可以在github上克隆它 https://github.com/IndicoDataSolutions/Foxhound

关于python - 导入错误: No module named vis (Python )?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35744473/

相关文章:

python - 如何将更新后的 current_number 传递到现有变量中

python - 矩阵乘法与按位运算符

python - 安装后无法导入theano

python - 在 __init__ 中应用属性 setter 逻辑

python opencv cv2.cv.CV_CAP_PROP_FRAME_COUNT 得到错误的数字

theano - 如何在卷积神经网络中的池化层后打印图像尺寸

python - 我应该如何在 theano 函数内分配 numpy 数组?

c++ - 重用已编译的 Theano 函数

python - 如何在Python中迭代列表中的字典

python - 如何使用 abapy 提取不同的 Field 输出数据?