marcellacornia / sam

Predicting Human Eye Fixations via an LSTM-based Saliency Attentive Model. IEEE Transactions on Image Processing (2018)
https://ieeexplore.ieee.org/document/8400593
MIT License
210 stars 76 forks source link

raise NotImplementedError #27

Closed Charlie4zc closed 5 years ago

Charlie4zc commented 5 years ago

zhaochang@mml-Precision-7920-Rack:~/workspace/sam$ python main.py /homeg/workspace/sam/sample_images/ Using Theano backend. /home/zhaochang/.local/lib/python3.6/site-packages/keras/backend/theano_backend.py:1282: UserWarning: DEPRECATION: the 'ds' parameter is not going to exist anymore as it is going to be replaced by the parameter 'ws'. mode='max') /home/zhaochang/.local/lib/python3.6/site-packages/keras/backend/theano_backend.py:1282: UserWarning: DEPRECATION: the 'st' parameter is not going to exist anymore as it is going to be replaced by the parameter 'stride'. mode='max') /home/zhaochang/.local/lib/python3.6/site-packages/keras/backend/theano_backend.py:1282: UserWarning: DEPRECATION: the 'padding' parameter is not going to exist anymore as it is going to be replaced by the parameter 'pad'. mode='max') /usr/local/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters Compiling SAM-ResNet Traceback (most recent call last): File "main.py", line 119, in raise NotImplementedError NotImplementedError

Theano==0.9.0 Keras==1.1.0 Opencv==4.0.0

marcellacornia commented 5 years ago

To predict saliency maps for a given image folder, you have to use the following command: python main.py test path/to/images/folder/.

Charlie4zc commented 5 years ago

THX a lot!