Skip to content

Commit

Permalink
Update eval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cjf8899 authored Jul 22, 2022
1 parent 4fb3348 commit c5f689b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def valiadte_whole(
check_makedirs(gray_folder)
check_makedirs(color_folder)
gray = np.uint8(prediction)
color = colorize(gray)
color = colorize(gray,colormap)
image_path, _ = data_list[i]
image_name = image_path.split("/")[-1].split(".")[0]
gray_path = os.path.join(gray_folder, image_name + ".png")
Expand Down

0 comments on commit c5f689b

Please sign in to comment.