# Error running textcat.batch-train if text is empty string

**URL:** <https://support.prodi.gy/t/error-running-textcat-batch-train-if-text-is-empty-string/68>\
**Category:** Uncategorized\
**Tags:** done, textcat\
**Created:** [October 25, 2017, 11:13pm UTC](https://support.prodi.gy/t/error-running-textcat-batch-train-if-text-is-empty-string/68 "2017-10-25T23:13:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wei](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wei](https://support.prodi.gy/u/wei)\
**Post date:** [October 25, 2017, 11:17pm UTC](https://support.prodi.gy/t/error-running-textcat-batch-train-if-text-is-empty-string/68/2 "2017-10-25T23:17:10Z")

</div>

I noticed [this thread](https://support.prodi.gy/t/train-curve-error-unexpected-keyword-argument-label/55) where you don’t have to pass in the label anymore- makes sense. I’ve removed the `--label` argument and still get the error, so this is probably a different problem.

Based on [this thread](https://support.prodi.gy/t/error-when-loading-models-trained-with-more-than-999-samples/31), I’ve also tried using the `en_vectors_web_lg` model with the same results.

---

_[View the full topic](https://support.prodi.gy/t/error-running-textcat-batch-train-if-text-is-empty-string/68)._
