From 7e1f271bf416e9f390639f4d95e45336f579c6a1 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 13 Dec 2022 14:02:10 +0000 Subject: [PATCH] deeplabv3+: fix colourmap --- aimodel/src/deeplabv3_plus_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/src/deeplabv3_plus_test.py b/aimodel/src/deeplabv3_plus_test.py index 639e109..7c4a9a5 100755 --- a/aimodel/src/deeplabv3_plus_test.py +++ b/aimodel/src/deeplabv3_plus_test.py @@ -210,7 +210,7 @@ plt.savefig(os.path.join(DIR_OUTPUT, "val_acc.png")) # Loading the Colormap colormap = loadmat( - "./instance-level_human_parsing/instance-level_human_parsing/human_colormap.mat" + os.path.join(DIR_OUTPUT, "human_colormap.mat") )["colormap"] colormap = colormap * 100 colormap = colormap.astype(np.uint8)