-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate k-means segs with no labels #14
Comments
Thank you for the feedback. In the current codebase, the code is written assuming that we have labels and I wouldn't be surprised if some parts of the codebase breaks when you run on your custom data without labels. With that said, even under the current codebase, you probably should have something rather than nothing when you run the training and spectral k-means clustering on unlabeled images. You are correct that So if the code works properly, running Then (hopefully) you can visualize the result with |
Thank you for the quick reply! This makes sense. I will have to do some more testing and debugging to see why I'm not getting any output from the Thank you! |
I have not tested out whether the latest code support unlabeled data very well. Please let me know if you do have troubles. |
First of all, great work on this paper. It is very interesting.
I was curious about generating k-means segmentations without providing ground truth labels. Is this possible with this framework? In the
helper_generate_kmeans.py
file the true label is fed into thelabel_hint_seg
function in thesegmentation.py
file, which uses the ground truth label as a hint to generate clusters (as far I know).So it would seem that you can't run
generate_kmeans.py
without ground truth labels. Unless I'm missing something.I am trying to generate segmentations on MRI spine images without any labels and the training process generates latent images, but when I run
generate_kmeans.py
with the output from training, it doesn't return anything.Here is how I setup my custom dataset class. I think I followed all of the steps in the instructions.
I also setup the
config.yaml
file correctly following the no label setup as suggested in the readme. Any help with this would be much appreciated! Thank you!The text was updated successfully, but these errors were encountered: