Traceback (most recent call last):


 "/home/kpark2/neural-image-assessment/utils/data_loader.py", line 125, in train_generator

yield (X_batch, y_batch)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1558, in __exit__

self._default_graph_context_manager.__exit__(exec_type, exec_value, exec_tb)


 "/usr/lib/python3.5/contextlib.py", line 77, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 4973, in get_controller

context.context_stack.pop()


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/eager/context.py", line 100, in pop

self.stack.pop()
IndexError: pop from empty list

Traceback (most recent call last):


 "/Users/jia/IdeaProjects/lizhifm_projects/image_quality_assessment/image_assessment/data/dataset_loader.py", line 147, in train_generator

yield (x_batch, y_batch)


 "/Users/jia/.virtualenvs/tensorflow1.3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1507, in __exit__

exec_type, exec_value, exec_tb)


 "/Users/jia/anaconda3/lib/python3.6/contextlib.py", line 99, in __exit__

self.gen.throw(type, value, traceback)


 "/Users/jia/.virtualenvs/tensorflow1.3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3972, in get_controller

if self.stack[-1] is not default:
IndexError: list index out of range
