in caffe prototxt file. what does the TRAIN and TEST phase do?
问题 I'm new to caffe. thank you guys! in https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto I saw 1 uncommented enum variable phase. it has 2 option TRAIN and TEST. enum Phase { TRAIN = 0; TEST = 1; } how did they work? I saw a model recently has this 2 phase too. the .prototxt file looks like: name: "CIFAR10_full" layer { name: "cifar" type: "Data" top: "data" top: "label" data_param { source: "CIFAR-10/cifar10_train_lmdb" backend: LMDB batch_size: 200 } transform_param {