The Relabel class should set all pixel values of 255 to 2?
If so, change it to Relabel(255, 1), since you have two classes.
However, this does not solve the issue of having target values of 15 and 40.
Could you add the following line after loading the label:
print(np.unique(np.array(label)))