1

Hello l tried to run my python code and the errors is:

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**

knowing that l have correctly installed 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
tttthomasssss
  • 5,852
  • 3
  • 32
  • 41
vincet
  • 917
  • 3
  • 13
  • 26
  • 1
    Possible duplicate of [ImportError: No module named foxhound.utils.vis](http://stackoverflow.com/questions/31130126/importerror-no-module-named-foxhound-utils-vis) – Railslide Mar 02 '16 at 10:37
  • For Windows Anaconda simple do: pip install keras-vis – Suleiman Nov 30 '18 at 08:38

2 Answers2

1

is Foxhound a scikit? if yes, it doe's not contains utils module. You can clone it on github https://github.com/IndicoDataSolutions/Foxhound

Nasser Abdou
  • 188
  • 2
  • 7
  • f rom foxhound.utils.vis import grayscale_grid_vis, unit_scale error /usr/lib/python2.7/dist-packages/scipy/lib/_util.py:35: DeprecationWarning: Module scipy.linalg.blas.fblas is deprecated, use scipy.linalg.blas instead DeprecationWarning) Traceback (most recent call last): File "", line 1, in ImportError: No module named vis – vincet Mar 02 '16 at 13:18
0

I have met with the same problem. from foxhound vis import grayscale_grid_vis is enough. And I just comment out the other part. And the program works well. It seems that the module is not used.