Results 2 comments of Marvin

first add this function in this file: ``` def _compute_gradients(tensor, var_list): grads = tf.gradients(tensor, var_list) return [grad if grad is not None else tf.zeros_like(var) for var, grad in zip(var_list, grads)]...

change to these lines in inference.py to work with the latest keras: ``` def load_image(image_path, grayscale=False, target_size=None): color_mode = 'grayscale' if grayscale == False: color_mode = 'rgb' else: grayscale =...