Closed zhy168 closed 2 weeks ago
If I coment line 171 can work?
Hi, to submit your results to cityscapes please refer to the official documents of cityscapes.
If you want to save predict png without using colormap, you may change the following codes
into
preds = preds.max(dim=1)[1].cpu().numpy()
Best,
I want to use my model to predict test set and save label ID png for submiting result to cityscapes web and get tested.Is there any option to save predict png without using colormap? thanks a lot !