OverFeat icon indicating copy to clipboard operation
OverFeat copied to clipboard

All Outputs of Network are the Same (Python API)

Open craymichael opened this issue 6 years ago • 2 comments

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

craymichael avatar Jul 30 '18 10:07 craymichael

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

Vslamer avatar Jan 02 '19 02:01 Vslamer

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.

1274622976 avatar Dec 09 '20 02:12 1274622976