Solved by aksg87 in post #2 
              
              
                I think I found a decent solution to this. If anyone has another approach please share! 
    from matplotlib import cm
    ...
    x = torch.from_numpy(img_vol)
    y = torch.from_numpy(pred_vol)
    cmap_vol = np.apply_along_axis(cm.viridis, 0, y.numpy()) # converts prediction to cmap!
    cmap_vol…