NameError Traceback (most recent call last) <ipython-input-9-55f75a37c2b4> in init_global_real_logits() 42 try: ---> 43 real_logits is not None 44 except NameError: NameError: name 'real_logits' is not defined During handling of the above exception, another exception occurred: AssertionError Traceback (most recent call last) 2 frames <ipython-input-9-55f75a37c2b4> in get_real_image_logits(num_images, classifier_model) 32 logits = sess.run(real_logits) 33 assert len(logits.shape) == 2 ---> 34 assert logits.shape[0] == num_images 35 return logits 36
NameError Traceback (most recent call last)
in init_global_real_logits()
42 try:
---> 43 real_logits is not None
44 except NameError:
NameError: name 'real_logits' is not defined
During handling of the above exception, another exception occurred:
AssertionError Traceback (most recent call last)
2 frames
in get_real_image_logits(num_images, classifier_model)
32 logits = sess.run(real_logits)
33 assert len(logits.shape) == 2
---> 34 assert logits.shape[0] == num_images
35 return logits
36