Hello,
I use pre-trained Resnet18 to train my own network.
The first test was for 150 images per class with Epochs = 100, batch-Size = 4, so I get Accuracy = 73.
The second test was for 300 images per class with Epochs = 150, batch-Size = 5, so I get less Accuracy = 61.
my question is:
How do i choose Epochs and batch-size for 300 Images to get high accuracy??
I think he mean that Jetson has a limited capacity for computing (it can barely run YOLO, best to use miniYOLO), anyway it is recommended to train first in PC and then use the result in Jetson, train on Jetson makes no sense (unless you want to do an “online” implementation, training while detecting).
Epochs usually overfit around 10to100, it depends very much on dataset, but 300 images is really few, augment data to X8 or so, then use around 5 epochs, not much more because it is really few data, for batch I recommend a multiple of your classes, from around 2 to your number of classes, it is suppossed less is better but not less than 2-3.
Well, in fact the results training in PCvsJetson should be similar, but Jetson is intended for using it for detecting purposes as if you try to train with it, you could have to wait much more than using a computer.
For data augmentation you could try to do mirror effect, and if it is an item that could be upside-down, also rotations (X4, plus mirror, X8).
Also try to find out how to use a pretrained model, and pass the training images at 224X224 size (or the recommended one for that pretrained), highly recommended.