New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type Error #41
Comments
Hello there -- what version of python are you using here? This looks like it might be related to an older version |
Hey, thanks for your reply. It runs on python 3.7 |
@niklassoeder did you have any luck resolving this? |
Same issue here, python 3.6 |
@niklassoeder @gerbill Fixed it by fixing Stanza version to 1.0.0 (I also have transformers fixed to 2.8.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there, first of all: great work. I am getting the following error when running the sample code. Would someone be able to give a hint where i am doing wrong?
Best
0%| | 0/1 [00:00<?, ?it/s]Traceback (most recent call last): File ".../main.py", line 12, in <module> print(word_generator.generate_word()) File "...\title_maker_pro\word_generator.py", line 72, in generate_word use_custom_generate=True, File "...\title_maker_pro\datasets.py", line 638, in generate_words example_match_pos_pipeline, l_example, start_title_idx, len(t_rstrip) File "...\title_maker_pro\datasets.py", line 346, in approx_pos m = start_end_re.match(word.misc) TypeError: expected string or bytes-like object
The text was updated successfully, but these errors were encountered: