deeplabv3+: fix colourmap

This commit is contained in:
Starbeamrainbowlabs 2022-12-13 14:02:10 +00:00
parent 4d8ce792c9
commit 7e1f271bf4
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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)