Added stuff
This commit is contained in:
parent
1cbff41485
commit
cd8f1ae426
@ -8,13 +8,14 @@ import sys
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
infile = sys.argv[1]
|
infile = sys.argv[1]
|
||||||
|
max_ = int(sys.argv[2])
|
||||||
wavefile = wave.open(infile, "rb")
|
wavefile = wave.open(infile, "rb")
|
||||||
os.makedirs("big_chop_output", exist_ok=True)
|
os.makedirs("big_chop_output", exist_ok=True)
|
||||||
|
|
||||||
samples_per_slice = wavefile.getframerate()
|
samples_per_slice = wavefile.getframerate()
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
while True:
|
while i < max_:
|
||||||
filename = os.path.join("big_chop_output", f"{i}.wav")
|
filename = os.path.join("big_chop_output", f"{i}.wav")
|
||||||
|
|
||||||
sound_data = wavefile.readframes(samples_per_slice)
|
sound_data = wavefile.readframes(samples_per_slice)
|
||||||
|
1
results/10forest_edge_night_total.txt
Normal file
1
results/10forest_edge_night_total.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
1500
|
2
run.sh
2
run.sh
@ -4,4 +4,4 @@ podman run -it \
|
|||||||
-e "REPORT_INTERVAL=552546" \
|
-e "REPORT_INTERVAL=552546" \
|
||||||
-e 'MODEL_INFO_URL=https://birb.k8s.kmlabz.com/model/svm/$default' \
|
-e 'MODEL_INFO_URL=https://birb.k8s.kmlabz.com/model/svm/$default' \
|
||||||
-e "REPORT_URL=http://localhost/" \
|
-e "REPORT_URL=http://localhost/" \
|
||||||
registry.kmlabz.com/birbnetes/svm-prefilter-service
|
registry.kmlabz.com/birbnetes/svm-prefilter-service:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user