[Solved]: TypeError: unsupported operand type(s) for *: 'int' and 'Flag' in Tensorflow

The API of these Flags changed. Basically, you have to write .value after each instance, e.g.self._hps.batch_size.value

Convert this 

self._example_queue = Queue.Queue(self.BATCH_QUEUE_MAX * self._hps.batch_size);

To 

self._example_queue = Queue.Queue(self.BATCH_QUEUE_MAX * self._hps.batch_size.value);