Skip to content
Snippets Groups Projects
Commit 9faaa7ce authored by hexiangdong2019's avatar hexiangdong2019
Browse files

修改net_eval函数

parent 734b3e06
No related branches found
No related tags found
No related merge requests found
......@@ -147,8 +147,8 @@ def net_eval():
bi = 0
image_num = 0
for i, line in enumerate(img_lst):
img_path = os.path.join('./datasets/JPEGImages/', line+'.bmp')
msk_path = os.path.join('./datasets/SegmentationClass/', line+'.png')
img_path = os.path.join('./datasets/JPEGImages/', line) + '.bmp'
msk_path = os.path.join('./datasets/SegmentationClass/', line) + '.png'
img_ = cv2.imread(img_path)
msk_ = cv2.imread(msk_path, cv2.IMREAD_GRAYSCALE)
print(img_path)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment