Closed aihyper11 closed 3 years ago
This repo is rough and only suitable for binary seg now, I guess it is necessary to edit several files for multi-class problem.
Dataloader(label generation) https://github.com/zlkanata/DeepGlobe-Road-Extraction-Challenge/blob/master/data.py#L91
Loss Function https://github.com/zlkanata/DeepGlobe-Road-Extraction-Challenge/blob/mastre/loss.py#L7
Network's Last Layer https://github.com/zlkanata/DeepGlobe-Road-Extraction-Challenge/blob/master/framework.py#L10 self.net = net().cuda() --> self.net = net(num_class=?).cuda()
Evaluation https://github.com/zlkanata/DeepGlobe-Road-Extraction-Challenge/blob/master/test.py
Thank you very much for your reply. I will go through all the suggested changes.
What changes are requited in the current script to use for multi class problem?