-
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
Conflicting Parameters in WindowDataLayer #1125
Comments
Could you try #1070 and if it solves the problem? On Sunday, September 21, 2014, Ronghang Hu notifications@github.com wrote:
Sergio |
@sguada I haven't tried yet, but I really think we should keep a consistent inferface for data layers, and it is changing a bit too often recently. Otherwise, all models in model zoo, and other software like R-CNN may all break down. |
In theory this change should be transparent to existing data layers in On Sunday, September 21, 2014, Ronghang Hu notifications@github.com wrote:
Sergio |
The point of keeping the old fields was that they are needed for I'll take another look at this too and would appreciate testing. The On Sunday, September 21, 2014, Sergio Guadarrama notifications@github.com
Evan Shelhamer |
@ronghanghu I have traced the problem to the data parameter upgrade skipping WindowDataLayer: https://github.com/BVLC/caffe/blob/master/src/caffe/util/upgrade_proto.cpp#L509-L527 Could you check my fix in #1126? I agree that WindowDataLayer needs tests to protect against issues while the data layer design is improved. If you could PR tests that would be very helpful. |
In #995, the data layers are re-arranged into a hierarchical structure. After this modification, the WindowDataLayer has conflicting parameters in TransformationParameter and in WindowDataParameter:
and
Parameters such as
scale
andmean_file
appear twice, which cause serious problems and break down the finetune-pascal example. Currently WindowDataParameter is usingmean_file
from TransformationParameter,scale
,crop_size
andmirror
from WindowDataParameter. Especially, themean_file
in TransformationParameter is used, while it is specified in WindowDataParameter in finetune-pascal example and in the R. Girshick's R-CNN repo).I found my experimental result these days so weird and I later found that the WindowDataLayer is not working at all due to this issue. I am going to make a pull request to resolve it.
We should also add unit test for WindowDataLayer.
The text was updated successfully, but these errors were encountered: