Open Moeinh77 opened 5 years ago
img, bboxes = RandomHorizontalFlip(1)(img.copy(), bboxes.copy()) plotted_img = drawrect(img, bboxes_) plt.imshow(plotted_img) plt.show()
when trying the above code there is a problem with matrix additions in line 42 of data_aug.py it doesn't perform the operation because of the same_kind restriction .can't add dtype(float64) and dtype(int64).
all the operations which are not done with numpy causes an error
img, bboxes = RandomHorizontalFlip(1)(img.copy(), bboxes.copy()) plotted_img = drawrect(img, bboxes_) plt.imshow(plotted_img) plt.show()
when trying the above code there is a problem with matrix additions in line 42 of data_aug.py it doesn't perform the operation because of the same_kind restriction .can't add dtype(float64) and dtype(int64).