question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unrecognized arguments: -tm and --tag-map-path

See original GitHub issue

How to reproduce the behaviour

According to the documentation, this arg was added in the latest 2.2.3 but doesn’t work for me for some reason 😕

Command: /home/name/anaconda3/envs/ingredients/bin/python -m spacy debug-data ru recipes/train-5.json recipes/validate-5.json --verbose -tm ../ingr/model-final/tagger/tag_map Result:

usage: spacy debug-data [-h] [-b None] [-p tagger,parser,ner] [-IW] [-V] [-NF]
                        lang train_path dev_path
spacy debug-data: error: unrecognized arguments: -tm ../ingr/model-final/tagger/tag_map

The same issue with the option --tag-map-path

Your Environment

/home/name/anaconda3/envs/ingredients/bin/python -m spacy info --markdown

Info about spaCy

  • spaCy version: 2.2.3
  • Platform: Linux-5.3.0-45-generic-x86_64-with-debian-buster-sid
  • Python version: 3.7.6

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
adrianeboydcommented, Apr 9, 2020

Sorry, that’s a mistake in the docs. It was added in 2.2.4.

0reactions
lock[bot]commented, May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unittest has unrecognized arguments - python
I believe the error comes from the argparse library I'm using where the target code is expecting some arguments. Target file: program.py: import ......
Read more >
Cellpose 1.0: save_outlines unrecognized argument - help!
Hi, I'm using cellpose 1.0 from the executable file cellpose_mac, downloaded from the github page. I'm trying to use the save_outlines or ...
Read more >
Error: Unrecognized argument type to convert to an Image
I am working with Sentinel-1 SAR data. I want to display each image (8 of them) separately onto the map. Here is the...
Read more >
prodigy custom-ner: error: unrecognized arguments - usage
usage: prodigy custom-ner [-h] dataset source [loader] prodigy custom-ner: error: unrecognized arguments: --label B-LOC, O, B-PERS, I-PERS, ...
Read more >
dnf repoquery: error: unrecognized arguments
dnf repoquery: error: unrecognized arguments: --pkgnarrow=XXX. Solution Verified - Updated March 4 2022 at 3:07 PM -. English.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found