nitsourish / car-damage-detection-using-CNN

Automated car damage detection using Instance Segmentation(Mask R-CNN)
Other
32 stars 0 forks source link

AttributeError: 'list' object has no attribute 'shape' #4

Open Shravya0907 opened 4 years ago

Shravya0907 commented 4 years ago

Hi, I have an error while running this code in the fourth cell, can you please try help me solving this issue.

Load and display random samples

image_ids = np.random.choice(dataset.image_ids, 5) for image_id in image_ids: image = dataset.load_image(image_id) mask, class_ids = dataset.load_mask(image_id) visualize.display_top_masks(image, mask, class_ids, dataset.class_names)