[DEBUG
] Traceback (most recent call last):

 "/usr/lib/python2.6/site-packages/salt/output/__init__.py", line 35, in display_output
display_data = get_printout(out, opts)(data).rstrip()

 "/usr/lib/python2.6/site-packages/salt/output/highstate.py", line 44, in output
return _format_host(host, hostdata)[0]

 "/usr/lib/python2.6/site-packages/salt/output/highstate.py", line 128, in _format_host
comment = ret['comment'].join(' ').replace('\n',AttributeError: 'dict' object has no attribute 'join'
Traceback (most recent call last):


 "demo.py", line 116, in <module>

main()


 "demo.py", line 94, in main

image_features = get_image_features(args.image_file_name, CNN_weights_file_name)


 "demo.py", line 57, in get_image_features

image_features[0,:] = get_image_model(CNN_weights_file_name).predict(im)[0]


 "demo.py", line 22, in get_image_model

image_model = VGG_16(CNN_weights_file_name)


 "/media/bhavya/New_Volume/ICT/UGRP/Implementation/VQA_Demo/models/CNN/VGG.py", line 73, in VGG_16

model.load_weights(weights_path)


 "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 717, in load_weights

topology.load_weights_from_hdf5_group(f, layers)


 "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2931, in load_weights_from_hdf5_group

layer_names = [n.decode('utf8') for n in f.attrs['layer_names']]


 "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-nCYoKW-build/h5py/_objects.c:2840)


 "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-nCYoKW-build/h5py/_objects.c:2798)


 "/usr/local/lib/python2.7/dist-packages/h5py/_hl/attrs.py", line 58, in __getitem__

attr = h5a.open(self._id, self._e(name))


 "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-nCYoKW-build/h5py/_objects.c:2840)


 "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-nCYoKW-build/h5py/_objects.c:2798)


 "h5py/h5a.pyx", line 77, in h5py.h5a.open (/tmp/pip-nCYoKW-build/h5py/h5a.c:2337)
KeyError: "Can't open attribute (Can't locate attribute: 'layer_names')"
