Open faizanahemad opened 4 years ago
Note: this task requires reading a lot of code
I just had a suggestion, can we use Python 3's type annotation everywhere? That would make functions little easier to read?
something like -
import tensorflow as tf
from typing import List
def visualize_results(model: tf.keras.Model, class_names: List[str]):
return
Yes @unography that would be good. You can edit the original task with these annotations
Break this into Subtasks if this seems too big to do by 1 person or in 1 week.
Proposed Features
examples
parameterHow the API looks like?
Intended Usage Once model is trained this function can be called with Model and dataset to visualize.
Limitations
Online References/Documentation was referred while making this API
Gradcam Examples for correct and misclassified
Gradcam examples of layers
Assignment 11 Gradcam
Showing 25 Misclassified Examples
Code Gradcam
Code Showing 25 Misclassified Examples
Put these under the inspect module https://github.com/faizanahemad/FastNet/tree/master/fastnet/inspect
While we will expose only 1 interface outside, make the inner functions modular. See the Code examples for some modularization that I had done.
Branch Name (The github branch in which you are working on this).
Note: Before raising a PR make sure that you have made an issue like this with tag: enhancement, ensure your code is tested and documented.