whether it is correct or not?
2.Correspondingly,in the predict process,./lib help_function the method of pred_to_imgs
if mode=="original":
for i in range(pred.shape[0]):
for pix in range(pred.shape[1]):
pred_images[i,pix]=pred[i,pix,1]
I want to know the reason why pred_images[i,pix]=pred[i,pix,1] instead of pred_images[i,pix]=pred[i,pix,0]. Is it correct thatthe pred_images[i,pix]=max(pred[i,pix,:]) takes place of pred_images[i,pix]=pred[i,pix,1]?
your help is greatly appreciated. Thanks.
Hi,I am running this model on another data set.For this code,I have two questions.
mask_Unet
why do you always make the value of 'new_masks[i,j,1]' equal to the 'masks[i,j]'s'? Suppose there are 3 classes,
whether it is correct or not? 2.Correspondingly,in the predict process,./lib help_function the method of
pred_to_imgs
I want to know the reason why
pred_images[i,pix]=pred[i,pix,1]
instead ofpred_images[i,pix]=pred[i,pix,0]. Is it correct that
thepred_images[i,pix]=max(pred[i,pix,:])
takes place ofpred_images[i,pix]=pred[i,pix,1]
? your help is greatly appreciated. Thanks.