SYMBOL INDEX (84 symbols across 16 files) FILE: src/LRP.py class LRP (line 16) | class LRP(): method __init__ (line 23) | def __init__(self, model): method LRP_forward (line 26) | def LRP_forward(self, layer, input_tensor, gamma=None, epsilon=None): method LRP_step (line 57) | def LRP_step(self, forward_output, layer, LRP_next_layer): method generate (line 71) | def generate(self, input_image, target_class): FILE: src/cnn_layer_visualization.py class CNNLayerVisualization (line 16) | class CNNLayerVisualization(): method __init__ (line 21) | def __init__(self, model, selected_layer, selected_filter): method hook_layer (line 31) | def hook_layer(self): method visualise_layer_with_hooks (line 38) | def visualise_layer_with_hooks(self): method visualise_layer_without_hooks (line 76) | def visualise_layer_without_hooks(self): FILE: src/deep_dream.py class DeepDream (line 16) | class DeepDream(): method __init__ (line 21) | def __init__(self, model, selected_layer, selected_filter, im_path): method hook_layer (line 35) | def hook_layer(self): method dream (line 43) | def dream(self): FILE: src/generate_class_specific_samples.py class ClassSpecificImageGeneration (line 16) | class ClassSpecificImageGeneration(): method __init__ (line 20) | def __init__(self, model, target_class): method generate (line 32) | def generate(self, iterations=150): FILE: src/generate_regularized_class_specific_samples.py class RegularizedClassSpecificImageGeneration (line 20) | class RegularizedClassSpecificImageGeneration(): method __init__ (line 25) | def __init__(self, model, target_class): method generate (line 37) | def generate(self, iterations=150, blur_freq=4, blur_rad=1, wd=0.0001,... function preprocess_and_blur_image (line 119) | def preprocess_and_blur_image(pil_im, resize_im=True, blur_rad=None): FILE: src/gradcam.py class CamExtractor (line 13) | class CamExtractor(): method __init__ (line 17) | def __init__(self, model, target_layer): method save_gradient (line 22) | def save_gradient(self, grad): method forward_pass_on_convolutions (line 25) | def forward_pass_on_convolutions(self, x): method forward_pass (line 37) | def forward_pass(self, x): class GradCam (line 49) | class GradCam(): method __init__ (line 53) | def __init__(self, model, target_layer): method generate_cam (line 59) | def generate_cam(self, input_image, target_class=None): FILE: src/guided_backprop.py class GuidedBackprop (line 15) | class GuidedBackprop(): method __init__ (line 19) | def __init__(self, model): method hook_layers (line 28) | def hook_layers(self): method update_relus (line 35) | def update_relus(self): method generate_gradients (line 64) | def generate_gradients(self, input_image, target_class): FILE: src/guided_gradcam.py function guided_grad_cam (line 15) | def guided_grad_cam(grad_cam_mask, guided_backprop_mask): FILE: src/integrated_gradients.py class IntegratedGradients (line 12) | class IntegratedGradients(): method __init__ (line 16) | def __init__(self, model): method hook_layers (line 24) | def hook_layers(self): method generate_images_on_linear_path (line 32) | def generate_images_on_linear_path(self, input_image, steps): method generate_gradients (line 39) | def generate_gradients(self, input_image, target_class): method generate_integrated_gradients (line 54) | def generate_integrated_gradients(self, input_image, target_class, ste... FILE: src/inverted_representation.py class InvertedRepresentation (line 14) | class InvertedRepresentation(): method __init__ (line 15) | def __init__(self, model): method alpha_norm (line 21) | def alpha_norm(self, input_matrix, alpha): method total_variation_norm (line 28) | def total_variation_norm(self, input_matrix, beta): method euclidian_loss (line 40) | def euclidian_loss(self, org_matrix, target_matrix): method get_output_from_specific_layer (line 50) | def get_output_from_specific_layer(self, x, layer_id): method generate_inverted_image_specific_layer (line 64) | def generate_inverted_image_specific_layer(self, input_image, img_size... FILE: src/layer_activation_with_guided_backprop.py class GuidedBackprop (line 15) | class GuidedBackprop(): method __init__ (line 19) | def __init__(self, model): method hook_layers (line 28) | def hook_layers(self): method update_relus (line 35) | def update_relus(self): method generate_gradients (line 64) | def generate_gradients(self, input_image, target_class, cnn_layer, fil... FILE: src/layercam.py class CamExtractor (line 13) | class CamExtractor(): method __init__ (line 17) | def __init__(self, model, target_layer): method save_gradient (line 22) | def save_gradient(self, grad): method forward_pass_on_convolutions (line 25) | def forward_pass_on_convolutions(self, x): method forward_pass (line 37) | def forward_pass(self, x): class LayerCam (line 49) | class LayerCam(): method __init__ (line 53) | def __init__(self, model, target_layer): method generate_cam (line 59) | def generate_cam(self, input_image, target_class=None): FILE: src/misc_functions.py function convert_to_grayscale (line 19) | def convert_to_grayscale(im_as_arr): function save_gradient_images (line 37) | def save_gradient_images(gradient, file_name): function save_class_activation_images (line 55) | def save_class_activation_images(org_img, activation_map, file_name): function apply_colormap_on_image (line 79) | def apply_colormap_on_image(org_im, activation, colormap_name): function apply_heatmap (line 103) | def apply_heatmap(R, sx, sy): function format_np_output (line 121) | def format_np_output(np_arr): function save_image (line 148) | def save_image(im, path): function preprocess_image (line 161) | def preprocess_image(pil_im, resize_im=True): function recreate_image (line 202) | def recreate_image(im_as_var): function get_positive_negative_saliency (line 224) | def get_positive_negative_saliency(gradient): function get_example_params (line 238) | def get_example_params(example_index): FILE: src/scorecam.py class CamExtractor (line 14) | class CamExtractor(): method __init__ (line 18) | def __init__(self, model, target_layer): method forward_pass_on_convolutions (line 22) | def forward_pass_on_convolutions(self, x): method forward_pass (line 33) | def forward_pass(self, x): class ScoreCam (line 45) | class ScoreCam(): method __init__ (line 49) | def __init__(self, model, target_layer): method generate_cam (line 55) | def generate_cam(self, input_image, target_class=None): FILE: src/smooth_grad.py function generate_smooth_grad (line 18) | def generate_smooth_grad(Backprop, prep_img, target_class, param_n, para... FILE: src/vanilla_backprop.py class VanillaBackprop (line 11) | class VanillaBackprop(): method __init__ (line 15) | def __init__(self, model): method hook_layers (line 23) | def hook_layers(self): method generate_gradients (line 31) | def generate_gradients(self, input_image, target_class):