I'm trying to use test.py in the same way that I got image_demo.py working. I've noticed that test.py doesn't have an image directory argument similar to the 'img' argument in image_demo.py. How should I tell test.py what data to test?
The 3rd argument is the directory where my data is.
Also I noticed that in the image_demo.py file, there is a --palette argument to choose the segmentation palette, but there isn't in the test.py file. If I added that to test.py, would I easily be able to add custom palettes, specific to the dataset of testing interest?
Hi, I have two questions about the test.py file.
!CUDA_VISIBLE_DEVICES=0 python test.py \ /content/ViT-Adapter/segmentation/configs/cityscapes/mask2former_beit_adapter_large_896_80k_cityscapes_ms.py \ /content/ViT-Adapter/segmentation/release/mask2former_beit_adapter_large_896_80k_cityscapes.pth.tar \ /content/drive/MyDrive/ColabNotebooks/ViT-AdapterContent/dataA/dataA/CameraRGB \
The 3rd argument is the directory where my data is.