Traceback (most recent call last):

 "plot_emotion_matrix.py", line 12, in <module>
network.build_network()

 "/Users/aelali/Desktop/CNNemotions2/emotion_recognition_resnet.py", line 66, in build_network
self.load_model()

 "/Users/aelali/Desktop/CNNemotions2/emotion_recognition_resnet.py", line 110, in load_model
self.model.load(join(SAVE_DIRECTORY, SAVE_MODEL_FILENAME))

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tflearn/models/dnn.py", line 260, in load
self.trainer.restore(model_file, weights_only, **optargs)

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tflearn/helpers/trainer.py", line 447, in restore
self.restorer.restore(self.session, model_file)

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1129, in restore
{self.saver_def.filename_tensor_name: save_path})

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 382, in run
run_metadata_ptr)

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 655, in _run
feed_dict_string, options, run_metadata)

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 723, in _do_run
target_list, options, run_metadata)

 "/Users/aelali/anaconda/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 743, in _do_call
raise type(e)(node_def, op, message)tensorflow.python.framework.errors.NotFoundError: Tensor name "BatchNormalization_1/gamma" not found in checkpoint files ./data/resnet_model_mom_100e_n6
Traceback (most recent call last):

 "/usr/local/bin/mplotqueries", line 5, in <module>
pkg_resources.run_script('mtools==1.1.6', 'mplotqueries')

 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 492, in run_script
self.require(requires)[0].run_script(script_name, ns)

 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1350, in run_script
execfile(script_filename, namespace, namespace)

 "/Library/Python/2.7/site-packages/mtools-1.1.6-py2.7.egg/EGG-INFO/scripts/mplotqueries", line 472, in <module>
tool.run()

 "/Library/Python/2.7/site-packages/mtools-1.1.6-py2.7.egg/EGG-INFO/scripts/mplotqueries", line 104, in run
self.plot()

 "/Library/Python/2.7/site-packages/mtools-1.1.6-py2.7.egg/EGG-INFO/scripts/mplotqueries", line 398, in plot
tz = self.args['logfile'][0].timezoneTypeError: 'Log
' object does not support indexing