Surgery-Robot-Detection-Segmentation icon indicating copy to clipboard operation
Surgery-Robot-Detection-Segmentation copied to clipboard

accuracy/precision calculation

Open padmaksha18 opened this issue 6 years ago • 1 comments

Can you kindly explain me why this dimension has been used in this prediction code. masks_prediction = np.zeros((1200, 1600, len(file_names))) . Because my images on which i am running prediction are of different shapes and naturally it is throwing tensor dimension mismatch error in this line. masks_prediction[:,:,i] = merged_mask But when, i am resizing the image to this (1200, 1600) dimension, the masks are not formed in the object in the image, infact the image is totally distorted. So no use of calculating any accuracy/precision here. How can i overcome this? Do you suggest training with this specific dimension as during train, i just kept it as 1024 * 1024. Kindly guide here. Thanks a lot.

padmaksha18 avatar Nov 29 '18 10:11 padmaksha18

@padmaksha18 did you get a solution for your problem?

FloBr49 avatar Jun 11 '21 20:06 FloBr49