-
Notifications
You must be signed in to change notification settings - Fork 462
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
Could you explain why a custom Caffe were used? #22
Comments
I have the same problem right now. I'm trying to stay up-to-date on caffe head and have my own changes, so I would need to merge. But I cannot see which version of caffe this was branched from. It looks like the initial commit already contained merged PRs. I see the crop layer which I believe is not merged to caffe master yet (although it's pretty widely used by now). Also, obviously, there's the meanfield layer, which is the novelty of this model I guess. Am I missing anything else? The readme references future.sh, but that is not in the repository. |
Thanks. I managed to transfer the changes now. It was just the crop and crf layers plus helpers in utils and the segmenter python class and the stuff in upgrade_proto to allow old-style layer definitions. In case someone needs it: Here's a (minimal) patch that just merges the crf layers (without the crop layers) into current master caffe. I'm using higher prototxt IDs to avoid conflicts with other layers. I tested the sample and it seems to annotate fine. 0001-Add-CRF-layers-by-https-github.com-torrvision.patch.txt |
@mtourne: For my patches I just pulled out the CRF layers and the modified loading layer into their own files to match the current caffe header layouts and the new data layer interface. It doesn't add anything that's not already in #8 I think so I don't see what efforts could be combined. But feel free to incorporate the patch if you think it's useful. It passed the tests but I ended up not using CRF in the end. So I haven't tested things thoroughly. One problem I had was that I like to give my extra layers and parameters a higher ID in the prototxt (e.g. regular IDs go from 1 to XX and I add my own stuff with IDs 5XX). However, one of the tests needs to be removed for that because it fails if not all layer type IDs are used sequentially. |
@bittnt Couldn't test Matlab (no license) Python scripts were totally functional. |
@mtourne Thanks. I have tried a version of merging, it works fine on my end. But the new code base would change the prototxt somehow. I will need to do a few more experiments. We need to make sure the experiments numbers produced by new code base are identical to the old one. |
I'm guessing what you're experiencing is that at some point in time Caffe has upgraded their prototxt format, there is some code in place to keep the old ones backward compatible. You might have originally forked Caffe before they had that. You can also manually upgrade it with one of the CLI tool they built around that code : https://github.com/BVLC/caffe/blob/be163be0ea5befada208dbf0db29e6fa5811dc86/tools/upgrade_net_proto_text.cpp |
Closing old issues with no recent activity. |
In the code section or in the paper I can't find any information of what feature is missing in the normal Caffe so you guys needed to build a custom version. Could you explain a bit here?
Thank you!
The text was updated successfully, but these errors were encountered: