@Kotaro Okazaki I have been trying to do something similar and ran into a different problem:
trainedNet =
NetTrain[vggNet2, trainingData, ValidationSet -> testingData, All,
MaxTrainingRounds -> maxTrainingRounds, BatchSize -> batchSize,
Method -> {optimizer}];
batchloss = trainedNet["BatchLossList"]
roundloss = trainedNet["RoundLossList"]
The problem i am facing is :
NetTrain[NetChain[Input port: image
Output port: class
Number of layers: 47 ],
{ here it gives list of all the input images i have given}, All, MaxTrainingRounds -> 1, BatchSize -> 4,
Method -> {"ADAM"}]["BatchLossList"]
It does the same with RoundLossList as well, can you please suggest what i am doing wrong?
The net is not getting trained.