From 440e693dfcd03b6c2446296c2f55f383b20de0e9 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 13 Dec 2022 18:26:00 +0000 Subject: [PATCH] DeepLabv3+: fix pathing again --- 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 7c4a9a5..69e4b9e 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( - os.path.join(DIR_OUTPUT, "human_colormap.mat") + os.path.join(os.path.dirname(DIR_OUTPUT), "human_colormap.mat") )["colormap"] colormap = colormap * 100 colormap = colormap.astype(np.uint8)