-
img_sal = Image.open(self.sal[idx]).convert("L")
img_sal_sub = Image.open(self.sal_sub[idx]).convert("L")
img_sal_map = Image.fromarray(np.maximum(np.array(img_sal), np.array(img_sal_sub)))
@yuli…
-
It would be great if Model API models had a method similar to the `postprocess`, that would generate a saliency map for models in any domain. Currently, we need to keep that logic on the GETi side. It…
-
Hi,
I would like to retrain the model and am interested in understanding how to measure and display the metric values such as Correlation Coefficient (CC), Structural Similarity Index (SIM), Normal…
-
-
I would like to understand why my model detected a certain object (mask) as having class A rather than class B. Is there a way to do it with MMDetection? If not, are there libraries that can process M…
-
Am I doing something wrong? I am unable to generate a harmonized layout
### Background Training
export MODEL_NAME="CompVis/stable-diffusion-v1-4"
export INSTANCE_DIR="./../data/background/train…
-
Here we will put any images to be linked to the documents or code of AITom
-
I'm using LRP for my resnet model by loading in .pth file. However, it raises "AttributeError: 'NoneType' object has no attribute 'relevance_input'" while I'm trying to apply the following code.
`lrp…
-
Hi, thanks for the great work!
When i set `results = saliency.get_image_saliency_results(model, img, input_tensor, prediction_tensor), methods=['gradcam', 'smooth_grad']` in [`cnn_pred_explain.ipyn…
-
Hi all,
When I run main main.py with my yolov5X model pretrained with ultralytics v5_6.1 on custom images I got this error message.
saliency_map = (weights * activations).sum(1, keepdim=True)
R…