We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello, the code you use to read the ground truth of dataset is
gt_temp = cv2.imread(os.path.join(gt_path,piece+'.png'))[:,:,0] gt_temp[gt_temp == 255] = 0
why there is "[:,:,0]" for the ground truth? thank you very much! and when I use cv2 to read the ground truth of pascal voc dataset,
import cv2 import numpy as np img_cv= cv2.imread('/Users/zhangying/Desktop/2007_000129.png') img_array_cv = img_cv[:,:,0] print('use the method CV\n ',np.unique(img_array_cv))
the output is
use the method CV [ 0 128 192]
however the sum of the categories is 21 for voc dataset(128>20,192>20, is it reasonable?). How do you think about this problem? Thanks a lot!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hello,
the code you use to read the ground truth of dataset is
why there is "[:,:,0]" for the ground truth?
thank you very much!
and when I use cv2 to read the ground truth of pascal voc dataset,
the output is
however the sum of the categories is 21 for voc dataset(128>20,192>20, is it reasonable?). How do you think about this problem? Thanks a lot!
The text was updated successfully, but these errors were encountered: