Traceback (most recent call last):


 "cartoonize.py", line 371, in <module>

main()


 "cartoonize.py", line 355, in main

output_image = post_processing(transformed_image, style=style)


 "cartoonize.py", line 110, in post_processing

transformed_image = transformed_image.numpy()
AttributeError: 'Tensor' object has no attribute 'numpy'

Traceback (most recent call last):


 "main.py", line 171, in <module>

hook = tf.contrib.estimator.stop_if_no_increase_hook(
AttributeError: module 'tensorflow.contrib.estimator' has no attribute 'stop_if_no_increase_hook'
