|
nlp = spacy.load("en_core_sci_sm") |
Problem:
nlp = spacy.load("en_core_sci_sm") in generate.py throws the error TypeError: issubclass() arg 1 must be a class
Suggestion:
- Upgrade spacy in
environment_droplet.yml and requirements.txt to 3.6.1
- Upgrade
en_core_sci_sm to 0.5.3 in README.md and environment_droplet.yml
I think this also requires to upgrade the following packages in environment_droplet.yml and requirements.txt:
- scikit-image==0.22.0
- scipy==1.12.0
ecg-image-kit/codes/ecg-image-generator/HandwrittenText/generate.py
Line 163 in 8f075ed
Problem:
nlp = spacy.load("en_core_sci_sm")ingenerate.pythrows the errorTypeError: issubclass() arg 1 must be a classSuggestion:
environment_droplet.ymlandrequirements.txtto 3.6.1en_core_sci_smto 0.5.3 inREADME.mdandenvironment_droplet.ymlI think this also requires to upgrade the following packages in
environment_droplet.ymlandrequirements.txt: