Skip to content

data_transformers applies jitter in TEST phase #1430

@kmatzen

Description

@kmatzen

phase_ is set when data_transformer is constructed using the global Caffe::phase() state.
https://github.com/BVLC/caffe/blob/master/include/caffe/data_transformer.hpp#L18

This is done when the test net is constructed in InitTestNets.
https://github.com/BVLC/caffe/blob/master/src/caffe/solver.cpp#L153

Caffe::phase() is still Caffe::TRAIN at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions