i trained camvid dataset on segnet architecture. camvid consists of 13 classes
But my own images which i have taken manually has only 4 classes(trees,road,cars people) now i want my model which has 13 classes(trained on camvid) to show output as only 4 classes
If you want to get the predictions that only include these 4 classes, I think you could perform a mapping operation that maps other classes to the background.
If you want to get to the metrics of these 4 classes, in my shallow view, the other 9 classes will have an influence on the prediction result, because on is a 13-classes classification task and anthor one is 4-classes classification task.