OverFeat
OverFeat copied to clipboard
All Outputs of Network are the Same (Python API)
Hi, I receive the same output for every input image I give the Overfeat model using the Python API. Minimal code to reproduce:
>>> overfeat.init(path_to_weights, 0)
>>> img = np.random.rand(3, 231, 231).astype(np.float32)
>>> r1 = overfeat.fprop(img)
>>> img = np.random.rand(3, 231, 231).astype(np.float32)
>>> r2 = overfeat.fprop(img)
>>> all(r1 == r2)
True
Hi,I don't understand ablove code .What that do? Install overfeat,test overfeat have bug: cy@pc:~/loopclosure/CNN_LCD-master/overfeat$ ./bin/linux_64/overfeat -n 3 samples/bee.jpg sh: 1: convert: not found /home/cy/loopclosure/CNN_LCD-master/overfeat/bin/linux_64/overfeatcmd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
Is there anyone who has run through this code? Can you share the steps of running the code and the problems encountered, and how to solve these problems? Thank you.