Wei Luo
Wei Luo
@Iko-Git Hello, I think in my example (the Python implemented) you will see the example you want.
you may change the function as ``` def mask_to_image(mask: np.ndarray, mask_values): if isinstance(mask_values[0], list): out = np.zeros( (mask.shape[-2], mask.shape[-1], len(mask_values[0])), dtype=np.uint8 ) elif mask_values == [0, 1]: out = np.zeros((mask.shape[-2],...
@ZhigangPu Hi, I have tried the provided method. It works indeed, but not so easy. I had a comparable situation. But in my case, it is because of the connection...