Open Shravya0907 opened 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.
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)
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)