Assuming that you have already acquired the seismic data and labeled it, you can use the following steps to preprocess the data before feeding it to ResNet18 in Matlab:
categorical()
function in Matlab.Here's a sample code snippet to perform the above steps:
main.m612 chars23 lines
Note: The above code is just a sample, and you may need to modify it based on your specific requirements.
gistlibby LogSnag