Skip to content

Commit

Permalink
download empty model in setup
Browse files Browse the repository at this point in the history
for unit testing
  • Loading branch information
Vincent Lostanlen committed Dec 3, 2018
1 parent 2a6bcfe commit 304c3b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
model_dir = os.path.join('birdvoxdetect', 'models')
suffixes = [
'pcen_cnn',
'pcen_cnn_adaptive-threshold-T1800'
'pcen_cnn_adaptive-threshold-T1800',
'empty' # for unit tests
]
weight_files = ['birdvoxdetect_{}.h5'.format(suffix) for suffix in suffixes]
base_url = 'https://github.com/BirdVox/birdvoxdetect/raw/models/'
Expand Down

0 comments on commit 304c3b8

Please sign in to comment.