To adapt ResNet18 to 1-D sequence input in Matlab, you can follow these steps:
resnet18
function.main.m16 chars2 lines
replaceLayer
function.main.m218 chars5 lines
trainNetwork
function.main.m433 chars14 lines
This will fine-tune the network on your own dataset with Stochastic Gradient Descent with momentum (SGDM).
With these steps, you can adapt ResNet18 to 1-D sequences input in Matlab.
gistlibby LogSnag