-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Add FCN example for semantic segmentation #3890
Comments
I'd like to hear more from this because I am thinking to use FCN-x in my work and it would be nice to have this in master! |
@anandthakker right, the requirements for FCNs (coordinate mapping + crop layer) were merged in #3613 and #3570 on 03/05. Note however that the old We're working on posting new reference models with net spec, weights, solver, and scripts soon along with a notebook example. |
Great, thanks! |
Thanks for the update and explanation, @shelhamer |
While the reference models and example notebook are hammered out you can see the fcn.berkeleyvision.org repo for master compatible FCNs, solver configurations, and scripts for learning, inference, and scoring. I'll follow up as more models are ported. Happy brewing. |
@shelhamer I have an FCN model originally created using |
@vuptran From my testing on the crop from longjon:future versus the master branch, the longjon:future appears to center the crop (computing the offset using the DiagonalAffineMap), while the master branch by default locates the crop with default offset (0,0). This could be a major cause of your accuracy loss, since fusing layers with different crop offsets mean the features become misaligned. For now you can manually compute the offsets and give them like "crop_param { offset: 9 }" but this is more tedious to compute manually. |
@vuptran @jasonbunk the
The point of While you need to generate the proto in Python, you can then use the proto definition however you did before (whether Python or not). @vuptran I hope that clears it up for you. Happy to hear you were able to make a cardiac segmentation FCN. |
Dear @vuptran I want to apply FCN on Cardiac MRI dataset and do the segmentation for right and left ventricle(I prepared VOI in .png and mask of ground truth in .png), Can you please kindly tell me how can I prepare them for training with FCN?? Thanks in advance. |
Closing this as addressed by fcn.berkeleyvision.org |
@shelhamer @longjon From my naive point of view, it looks like the requirements for FCN-x from the model zoo have made it into master; is this true?
I'm eventually hoping to do some fine tuning off of that work, but in the process, I thought I'd try creating a reproducible example of one of the FCN-X's working. Work started in a separate repo here: https://github.com/developmentseed/caffe-fcn/blob/master/src/fcn-fwd.ipynb -- before I take it further, just wanted to ask if you'd be interested in a PR adding something like this to the examples in this repo? (If so, I might as well set up a branch and work from there.)
The text was updated successfully, but these errors were encountered: