CPU implementation of smooth_l1_loss#7
Open
saiprabhakar wants to merge 15 commits intoAustriker:fast-rcnnfrom
Open
CPU implementation of smooth_l1_loss#7saiprabhakar wants to merge 15 commits intoAustriker:fast-rcnnfrom
saiprabhakar wants to merge 15 commits intoAustriker:fast-rcnnfrom
Conversation
This commit is a port from the following [fork](https://github.com/rbgirshick/caffe-fast-rcnn/tree/0dcd397b29507b8314e252e850518c5695efbb83) It adds : - smooth l1 loss layer - roi pooling layer - dropout scaling at test time (needed for MSRA-trained ZF network) LICENSE : Faster R-CNN The MIT License (MIT) Copyright (c) 2015 Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Added tests for ROI Pooling Layer Author: Ronghang Hu
Update test_smooth_l1_loss_layer.cpp
Author
|
@Austriker I implemented the forward and backward by keeping the gpu version as reference. I verified it by manually checking the loss. I am not sure what the test error is (I am new to caffe). It says the estimated gradient is 0. I think the problem could be with the datatype or something trivial in test_smooth_l1_loss. Can you help me on this. |
Owner
|
@saiprabhakar Have you managed to solved your issue ? I didn't have time to have a look. |
Author
|
@Austriker No I didnt have time to look at it yet either. I pretty sure the problem is with int to float conversion or something like that in test script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.