ahirsharan / MetaSegNet

Differentiable Meta-learning Model for Few-shot Semantic Segmentation
8 stars 3 forks source link

miou and Acc value #1

Closed zhuhaonan closed 3 years ago

zhuhaonan commented 3 years ago

Thank you for your code. I have a question. When I trained on my data set, the mIou value didn't change, the Acc value was 100 all the time.It doesn't matter what the K value is. image

ahirsharan commented 3 years ago

Hey! FYI currently, the code is functioning but I am not able to achieve the paper's accuracy. So, right now it won't give great results. But the issue you are facing is new to me. Can you tell me the format of dataset you are using or share the link? The training should happen correctly. I will definitely take a look.

zhuhaonan commented 3 years ago

Hey! FYI currently, the code is functioning but I am not able to achieve the paper's accuracy. So, right now it won't give great results. But the issue you are facing is new to me. Can you tell me the format of dataset you are using or share the link? The training should happen correctly. I will definitely take a look.

image image Thank you for your reply.This is the path of some of my data.Maybe I put the data on the wrong path?The images folder contains color images and the masks folder contains Ground Truth.

zhuhaonan commented 3 years ago

Hey! FYI currently, the code is functioning but I am not able to achieve the paper's accuracy. So, right now it won't give great results. But the issue you are facing is new to me. Can you tell me the format of dataset you are using or share the link? The training should happen correctly. I will definitely take a look.

Or maybe my data is in the wrong format? image

ahirsharan commented 3 years ago

The path and folder organisation is correct. The format of your masks would only work for binary segmentaion task since there is no such processing of dataset inside the code. The code assumes different mask color for each class (which is generally the case). I have already done that pre-processing and you may use my dataset for greater K.

FSS1000Aug: Link The code is definitely not perfect and is in development. So, you are welcome to contribute. Also, if you have any other doubts, do let me know.

zhuhaonan commented 3 years ago

The problem was solved.Thank you for your reply :)