(SAM) v818-0a87825a:SAM-VGG: SAM-ResNet $ python main.py test sample_images/
Using Theano backend.
/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/keras/engine/topology.py:376: UserWarning: The regularizers property of layers/models is deprecated. Regularization losses are now managed via the losses layer/model property.
warnings.warn('The regularizers property of layers/models '
Compiling SAM-ResNet
Loading SAM-ResNet weights
Traceback (most recent call last):
File "main.py", line 108, in
m.load_weights('weights/sam-resnet_salicon_weights.pkl')
File "/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/keras/engine/topology.py", line 2695, in load_weights
f = h5py.File(filepath, mode='r')
File "/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/h5py/_hl/files.py", line 394, in init
swmr=swmr)
File "/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/h5py/_hl/files.py", line 170, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
IOError: Unable to open file (unable to open file: name = 'weights/sam-resnet_salicon_weights.pkl', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
(SAM) v818-0a87825a:SAM-VGG: SAM-ResNet $ python main.py test sample_images/ Using Theano backend. /Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/keras/engine/topology.py:376: UserWarning: The
m.load_weights('weights/sam-resnet_salicon_weights.pkl')
File "/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/keras/engine/topology.py", line 2695, in load_weights
f = h5py.File(filepath, mode='r')
File "/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/h5py/_hl/files.py", line 394, in init
swmr=swmr)
File "/Users/opt/anaconda2/envs/SAM/lib/python2.7/site-packages/h5py/_hl/files.py", line 170, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
IOError: Unable to open file (unable to open file: name = 'weights/sam-resnet_salicon_weights.pkl', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
regularizers
property of layers/models is deprecated. Regularization losses are now managed via thelosses
layer/model property. warnings.warn('Theregularizers
property of layers/models ' Compiling SAM-ResNet Loading SAM-ResNet weights Traceback (most recent call last): File "main.py", line 108, in