Skip to content

Grad cam issue  #12

@ntirupathirao18

Description

@ntirupathirao18

Hello ,

base_model, preprocess_input = Classifiers.get('seresnext50')
model = base_model(input_shape=(512, 512, 20, 1 ), weights=None , include_top = False )
x = Flatten()(model.output)
x = Dense(1024, activation= 'sigmoid')(x)
x = Dense(2, activation= 'sigmoid')(x)

Trying to train a model , the accuracy is everything resides upto expectation, but the gradcam are quite off from the region of the focus - how the accuracy is good but the grad cam is off the focus of targeted area .

Using the layer - 'activation-161' as output
ref - https://github.com/fitushar/3D-Grad-CAM/blob/master/3DGrad-CAM.ipynb for the gradcam generation code , the results are always at the border of the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions