Closed arichadda closed 2 years ago
Base: 84.29% // Head: 84.06% // Decreases project coverage by -0.22%
:warning:
Coverage data is based on head (
d8ad76c
) compared to base (ef8f2c4
). Patch has no changes to coverable lines.:exclamation: Current head d8ad76c differs from pull request most recent head ed0a3d1. Consider uploading reports for the commit ed0a3d1 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
PLEASE DO NOT MERGE
This PR is still under development
This PR currently includes:
filter_ship_data.py
: Isolates hydrophone audio segments for the class of interest (currentlyTug
) and saves them under a class-label directoryfilter_noise_data.py
: Isolates hydrophone audio segments w/ a naive heuristic for filtering out boat noise and saves them under a class-label directorypreprocessing.py
: Loads audio segments from the previous step and converts them to an STFT-based spectrogram image PyTorch tensors (of size [3,224,224] which is the ResNet input size) and saves them in class-labelled directoriespartition_dataset.py
: Partitions the tensors from the previous step into atraining
,test
, andval
sets for training/evaluation and saves as separate set directories w/ class-labelled sub-directories.dataset.py
: Creates a PyTorch dataset class and creates image-label pairings to be used in trainingtrain.py
: A PyTorch training loop that takes a model (currently ResNet-18) and uses the image-label data pairings to make predictions + learn from themconvert.py
: Takes the trained PyTorch model and converts it to an ONNX model, Keras model, and then a TFLite model for use on the edgeTo Do's:
Add comments/function docstringsFix Codacity Python IssuesTensorboard info to README.mdIntegrate w/ Tensorboard to keep track of modeling iterationsAdd flowchart of training pipeline1 slide summary reportAdd tflite model creation step