Here's an example code to create a semantic segmentation algorithm using resnet101 with imagedatastore
and pixellabeldatastore
in MATLAB:
main.m699 chars21 lines
Note that you should replace 'path-to-test-images'
and 'path-to-test-labels'
with the actual paths to your test images and labels. The result will be a set of evaluation metrics that can be used to assess the performance of your segmentation algorithm.
gistlibby LogSnag