Skip to content

Commit

Permalink
reomve prints
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed May 31, 2023
1 parent 3c4ddb5 commit a1872ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Melt/identify_bird.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def get_chirp_samples(rec_data, sr=32000, stride=1):
sr_e = (start + length) * sr
sr_s = int(sr_s)
sr_e = int(sr_e)
print("start", start, sr_s, " length", length, sr_e)
s = rec_data[sr_s:sr_e]
start += stride
if len(s) < length * sr:
Expand Down Expand Up @@ -242,7 +241,6 @@ def classify(file, model_file):
start = 0
active_tracks = {}
for i, prediction in enumerate(predictions):
print("At", start, " have ", np.round(prediction * 100))
# last sample always ends at length of audio rec
if start + segment_length > length:
start = length - segment_length
Expand Down

0 comments on commit a1872ec

Please sign in to comment.