FisayoF commited on
Commit
04b5c34
·
verified ·
1 Parent(s): 3d90862

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -4
README.md CHANGED
@@ -47,16 +47,17 @@ A small convolutional neural network, written and trained from scratch in PyTorc
47
 
48
  ## Limitations
49
 
50
- - Small dataset of 297 recordings and a small test set (60 images) so these figures are indicative rather than precise.
51
  - Training loss is very low while validation accuracy is lower, which suggests overfitting. No data augmentation or regularisation was used.
52
  - Background clips are sometimes misclassified as helicopter.
53
- - The split is random at image level.
54
  - Not tested on recordings from new environments, microphones or noise conditions.
55
  - This is a baseline model for problem-solving demonstration. Not for safety-critical use.
56
 
57
  ## Usage
58
 
59
  ```python
60
- from predict import predict
61
- print(predict("example_spectrogram.png"))
 
62
  ```
 
47
 
48
  ## Limitations
49
 
50
+ - Small dataset of 297 spectrograms and a small test set (60 images) so these figures are indicative rather than precise.
51
  - Training loss is very low while validation accuracy is lower, which suggests overfitting. No data augmentation or regularisation was used.
52
  - Background clips are sometimes misclassified as helicopter.
53
+ - The split is random at image level. If several spectrograms come from the same recording, near-duplicates could appear in both train and test and inflate the scores; splitting by recording is a planned improvement.
54
  - Not tested on recordings from new environments, microphones or noise conditions.
55
  - This is a baseline model for problem-solving demonstration. Not for safety-critical use.
56
 
57
  ## Usage
58
 
59
  ```python
60
+ Download model.py, predict.py and weightsfilefromspectrogram.pth into one folder, install the dependencies, then run:
61
+
62
+ pip install torch pillow numpy
63
  ```