In the current implementation the prototype layer of the network returns only the distances between each prototype and the latent space patches.
In the original ProtoPNet the distances are then modified into similarities. We can add this feature.
A configurable parameter set by the user will then decide if the network uses the distances or the similarities values.
In the current implementation the prototype layer of the network returns only the distances between each prototype and the latent space patches. In the original ProtoPNet the distances are then modified into similarities. We can add this feature.
A configurable parameter set by the user will then decide if the network uses the distances or the similarities values.