You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input label map should be a one-hot encoding of shape [BxNxWxH], where B is the batch size, N is the number of classes in the dataset, WxH the height and width of images (we used 256x256 for Ade and Coco, 512x256 for cityscapes).
If you want to use your own input, then something like the following code block should be added to test.py:
For further details, please refer to dataloaders to see how we pre-process data in dataloaders, and models/models.py - preprocess_input() to see how we create one-hot encodings.
How to create a label map so that it can be given as input to the pre-trained model along with the original image.
The text was updated successfully, but these errors were encountered: