-
Notifications
You must be signed in to change notification settings - Fork 1
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
run SegNAFNet_arch #7
Comments
Hello, our method needs to get masks calculated from SAM model in advance. Download prepared data for experiments from Baidu Netdisk|Onedrive. The mask generation codes are in
I'll try integrating sam into the inference code later to avoid the necessity of downloading our data when I'm available.
|
Thank you very much for your answer, it has been very useful to me.However, I have one more small question.Where is MAP Unit reflected in the code in the paper? I don't seem to have found it yet.I hope to receive your reply. Thank you very much again. |
From line 104 to line 110, we calculated the area and the sum_val for each mask to get the avg_val. From line 112 to line 115, they were multiplied to the masks and added together. if you remove the sum operation at line 115, then from line 104 to 115 reflects a MAP Unit. |
Thank you for your answer.I have a small question regarding |
You can directly change the 'read_image_from_lmdb' function to 'read_image_from_folder' function. Change the following codes to simply go through the data folder and pass the data path to 'read_image_from_folder' should work.
|
What should I do if the forword function lacks masks when calculating model parameters?Hope to get your answer, thank you very much!
The text was updated successfully, but these errors were encountered: