1. what changes you made (git diff) or what code you wrote
I haven't changed the base code, but my "images" for this set are comprised of rgb layered audio features -- im trying to see if I can bound the different audio segments in a song (verse, chorus, etc.). Not sure if this is the issue either, but I think it's worth noting that the image sizes I'm dealing with are in the order of thousands in terms of pixels.
2. what exact command you run:
for d in random.sample(dataset_dicts, 1):
img = cv2.imread(d["file_name"])
print(img.shape)
visualizer = Visualizer(img[:, :, ::-1], metadata=audio_metadata, scale=1)
vis = visualizer.draw_dataset_dict(d)
plt.figure(figsize=(20,20))
plt.imshow(vis.get_image()[:, :, ::-1])
plt.axis('off')
plt.show()
img = Image.fromarray(vis.get_image()[:, :, ::1])
img.save('/home/shared/cuzokwe/datasets/SALAMI/test/datatest.png')
#cv2_imshow(vis.get_image()[:, :, ::-1])
And this is the annotation I'm using (its very long due to the number of segments and the fact that every pixel should be counted in a segmentation)
3. what you observed:
The synthesized image before and after was the same, with no added bounding boxes. I'm going to attach the image. What confuses me is that there is no error anywhere, so I'm not sure where to begin in terms of debugging. I've checked the docs and scanned the colab example, but I can't find anything wrong. any help would be appreciated.
1. what changes you made (
git diff
) or what code you wroteI haven't changed the base code, but my "images" for this set are comprised of rgb layered audio features -- im trying to see if I can bound the different audio segments in a song (verse, chorus, etc.). Not sure if this is the issue either, but I think it's worth noting that the image sizes I'm dealing with are in the order of thousands in terms of pixels.
2. what exact command you run:
And this is the annotation I'm using (its very long due to the number of segments and the fact that every pixel should be counted in a segmentation)
and so on...
3. what you observed: The synthesized image before and after was the same, with no added bounding boxes. I'm going to attach the image. What confuses me is that there is no error anywhere, so I'm not sure where to begin in terms of debugging. I've checked the docs and scanned the colab example, but I can't find anything wrong. any help would be appreciated.
Environment:
And finally here's my environment:
Again, my apologies for the lengthy post and data, but I have been stuck on this for a while now. Thanks in advance!