# Q&A

**URL:** https://forum.vocalpy.org/c/q-and-a/6.md

[Latest](https://forum.vocalpy.org/latest.md) · [Categories](https://forum.vocalpy.org/categories.md) · [Tags](https://forum.vocalpy.org/tags.md)

---

## [About the "Q&A" category](https://forum.vocalpy.org/t/about-the-q-a-category/13)

<div class="topic-metadata">

**Author:** [@nicholdav](https://forum.vocalpy.org/u/nicholdav)\
**Replies:** 0

</div>

Q&A: Questions and Answers This is a category to ask questions about, get help with, and discuss vocalpy and affiliated packages. You can start a new Q&A topic even if you don’t need help! Please also use this category…

---

## [BrokenProcessPool during vak prep](https://forum.vocalpy.org/t/brokenprocesspool-during-vak-prep/101)

<div class="topic-metadata">

**Author:** [@Sita](https://forum.vocalpy.org/u/Sita)\
**Replies:** 9\
**Last updated:** [January 21, 2025, 2:07am UTC](https://forum.vocalpy.org/t/brokenprocesspool-during-vak-prep/101 "2025-01-21T02:07:10Z")

</div>

Hi all, I installed vak on linux and everything worked fine with the bengalese finch test set from the tutorial. Now I’m trying my own recordings but I think I’m running into memory problems. During vak prep It starts a…

---

## [How to optimize training and evaluate \`vak eval\` results](https://forum.vocalpy.org/t/how-to-optimize-training-and-evaluate-vak-eval-results/93)

<div class="topic-metadata">

**Author:** [@riifaaa](https://forum.vocalpy.org/u/riifaaa)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 11:58pm UTC](https://forum.vocalpy.org/t/how-to-optimize-training-and-evaluate-vak-eval-results/93 "2024-03-06T23:58:01Z")

</div>

Hi everyone, I apologize in advance if this topic has already been discussed in other threads (for example, specifically about train\_dur here). But my question here is pretty general: how do you optimize training Tweety…

---

## [Inconsistent syllable error rate between vak eval and predict](https://forum.vocalpy.org/t/inconsistent-syllable-error-rate-between-vak-eval-and-predict/79)

<div class="topic-metadata">

**Author:** [@zhileizhao](https://forum.vocalpy.org/u/zhileizhao)\
**Replies:** 4\
**Last updated:** [September 20, 2023, 10:11pm UTC](https://forum.vocalpy.org/t/inconsistent-syllable-error-rate-between-vak-eval-and-predict/79 "2023-09-20T22:11:41Z")

</div>

Hi vocalpy team, Great work on developing the toolkits! Thank you so much for making them publicly accessible! I’ve been using vak to train TweetyNet model on my own vocalization data for the annotation task. I’m a li…

---

## [Use of both Sequence and BBox in Annotation class](https://forum.vocalpy.org/t/use-of-both-sequence-and-bbox-in-annotation-class/63)

<div class="topic-metadata">

**Author:** [@samlapp](https://forum.vocalpy.org/u/samlapp)\
**Replies:** 7\
**Last updated:** [September 20, 2023, 7:00pm UTC](https://forum.vocalpy.org/t/use-of-both-sequence-and-bbox-in-annotation-class/63 "2023-09-20T19:00:39Z")

</div>

From what I understand, Annotation is the central class that other classes interface with and serves as a common ground for annotation information. The class stores annotations either as a list of BBox or as a Sequence (…

---

## [Errors in training and predicting when the newest version of vak is installed](https://forum.vocalpy.org/t/errors-in-training-and-predicting-when-the-newest-version-of-vak-is-installed/71)

<div class="topic-metadata">

**Author:** [@Jacqueline](https://forum.vocalpy.org/u/Jacqueline)\
**Replies:** 5\
**Last updated:** [September 11, 2023, 4:04pm UTC](https://forum.vocalpy.org/t/errors-in-training-and-predicting-when-the-newest-version-of-vak-is-installed/71 "2023-09-11T16:04:19Z")

</div>

Hi, I found a bug: if you install vak with the newest version of python and lightning package than there will be an error with the accelerator = ‘None’. I installed the vak environment as such: Anaconda Powershell co…

---

## [Specifying the frequency range using vak](https://forum.vocalpy.org/t/specifying-the-frequency-range-using-vak/67)

<div class="topic-metadata">

**Author:** [@denajane13](https://forum.vocalpy.org/u/denajane13)\
**Replies:** 1\
**Last updated:** [July 18, 2023, 5:03pm UTC](https://forum.vocalpy.org/t/specifying-the-frequency-range-using-vak/67 "2023-07-18T17:03:05Z")

</div>

Hello, I have worked through the vak tutorials and got everything up and running - kudos to the developers! I could not find any information or tutorials on how to change the frequency range or limits of the spectrogram…

---

## [\_spectral\_helper error during prep](https://forum.vocalpy.org/t/spectral-helper-error-during-prep/65)

<div class="topic-metadata">

**Author:** [@Sita](https://forum.vocalpy.org/u/Sita)\
**Replies:** 3\
**Last updated:** [July 8, 2023, 4:58pm UTC](https://forum.vocalpy.org/t/spectral-helper-error-during-prep/65 "2023-07-08T16:58:02Z")

</div>

Hi all, I hope I didn’t miss anything obvious in the tutorial (sorry if I do, bit under time pressure due to students’ deadlines). I get an error during prep in the spectrogram step. The progress bar starts running for…

---

## [Introduction Maris Basha, new member](https://forum.vocalpy.org/t/introduction-maris-basha-new-member/64)

<div class="topic-metadata">

**Author:** [@marisbasha](https://forum.vocalpy.org/u/marisbasha)\
**Replies:** 2\
**Last updated:** [July 8, 2023, 4:53pm UTC](https://forum.vocalpy.org/t/introduction-maris-basha-new-member/64 "2023-07-08T16:53:39Z")

</div>

Hello everyone! I am Maris, a PhD student at ETH Zurich. I was invited by Prof. Cohen after a discussion we had at a conference in Italy recently. I’d like to contribute to the library, specifically in similarity metri…

---

## [Error in last step of generating predictions](https://forum.vocalpy.org/t/error-in-last-step-of-generating-predictions/54)

<div class="topic-metadata">

**Author:** [@nhoglen](https://forum.vocalpy.org/u/nhoglen)\
**Replies:** 2\
**Last updated:** [February 25, 2023, 1:03am UTC](https://forum.vocalpy.org/t/error-in-last-step-of-generating-predictions/54 "2023-02-25T01:03:36Z")

</div>

Hello! I recently updated vak to v0.8.0 and TweetyNet to v0.9.0 and have encountered a new error (that I did not get with my previous installs) at the very last step of using the predict method of vak. Here is the full…

---

## [Solving "ValueError: Could not find subsets of sufficient duration in less than 5000 iterations."](https://forum.vocalpy.org/t/solving-valueerror-could-not-find-subsets-of-sufficient-duration-in-less-than-5000-iterations/52)

<div class="topic-metadata">

**Author:** [@mizuki](https://forum.vocalpy.org/u/mizuki)\
**Replies:** 9\
**Last updated:** [December 28, 2022, 5:36pm UTC](https://forum.vocalpy.org/t/solving-valueerror-could-not-find-subsets-of-sufficient-duration-in-less-than-5000-iterations/52 "2022-12-28T17:36:02Z")

</div>

Hi, I recently getting ValueError: Could not find subsets of sufficient duration in less than 5000 iterations. I tried to solve this by increasing the max\_iter in bruteforce function in bruteforce.py up to 20000 but I …

---

## [What happens when 'train\_dur' \< (total duration of files prepared for training)?](https://forum.vocalpy.org/t/what-happens-when-train-dur-total-duration-of-files-prepared-for-training/50)

<div class="topic-metadata">

**Author:** [@mizuki](https://forum.vocalpy.org/u/mizuki)\
**Replies:** 9\
**Last updated:** [December 14, 2022, 10:13pm UTC](https://forum.vocalpy.org/t/what-happens-when-train-dur-total-duration-of-files-prepared-for-training/50 "2022-12-14T22:13:51Z")

</div>

Hi,it’s been a while since we last talked. I recently noticed that I might have had misusage of some parameters, train\_dur, val\_dur and test\_dur. I was setting much shorter values than total duration of prepared data to…

---

## [Vak prep crashes because of package version requirement](https://forum.vocalpy.org/t/vak-prep-crashes-because-of-package-version-requirement/49)

<div class="topic-metadata">

**Author:** [@yardenc](https://forum.vocalpy.org/u/yardenc)\
**Replies:** 7\
**Last updated:** [December 5, 2022, 2:34am UTC](https://forum.vocalpy.org/t/vak-prep-crashes-because-of-package-version-requirement/49 "2022-12-05T02:34:17Z")

</div>

I created a new environment in a machine that served many successful runs with vak and tweetynet. This time I got an error when running vak prep on the tutorial data. I tried creating the environment in two ways: con…

---

## [Setting up dev environment for vak](https://forum.vocalpy.org/t/setting-up-dev-environment-for-vak/48)

<div class="topic-metadata">

**Author:** [@Itamar.F](https://forum.vocalpy.org/u/Itamar.F)\
**Replies:** 3\
**Last updated:** [November 19, 2022, 8:31pm UTC](https://forum.vocalpy.org/t/setting-up-dev-environment-for-vak/48 "2022-11-19T20:31:30Z")

</div>

Hello all :slight\_smile: I’m trying to set a development environment with vak (for some fiddling and learning) and having trouble setting it up using conda. I would appreciate any help! I’ve cloned the repository, inst…

---

## [Vak prep issue with "simple-seq" annotation format and wave files](https://forum.vocalpy.org/t/vak-prep-issue-with-simple-seq-annotation-format-and-wave-files/28)

<div class="topic-metadata">

**Author:** [@YMK123](https://forum.vocalpy.org/u/YMK123)\
**Replies:** 7\
**Last updated:** [June 10, 2022, 4:14am UTC](https://forum.vocalpy.org/t/vak-prep-issue-with-simple-seq-annotation-format-and-wave-files/28 "2022-06-10T04:14:07Z")

</div>

Hi, Vak prep ran smoothly with the tutorial using cbin and notmat files; however, I encountered an issue using “vak prep” on my own dataset where it does not appear to identify the annotation files associated with the a…

---

## [\`vak\` installation issue with conda](https://forum.vocalpy.org/t/vak-installation-issue-with-conda/27)

<div class="topic-metadata">

**Author:** [@YMK123](https://forum.vocalpy.org/u/YMK123)\
**Replies:** 6\
**Last updated:** [June 8, 2022, 4:45pm UTC](https://forum.vocalpy.org/t/vak-installation-issue-with-conda/27 "2022-06-08T16:45:51Z")

</div>

Hi, I was following the tutorial for installing vak using conda for MacOS and on Linux. While the conda installation did not produce any errors, the program produces a segmentation fault error when typing in the command…
