roatienza / deep-text-recognition-benchmark

PyTorch code of my ICDAR 2021 paper Vision Transformer for Fast and Efficient Scene Text Recognition (ViTSTR)
Apache License 2.0
284 stars 57 forks source link

when i follow train.sh: line 6: --SequenceModeling: command not found #27

Open felix115 opened 2 years ago

felix115 commented 2 years ago

python3.6/site-packages/wand/api.py", line 151, in libraries = load_library() python3.6/site-packages/wand/api.py", line 140, in load_library raise IOError('cannot find library; tried paths: ' + repr(tried_paths)) OSError: cannot find library; tried paths: []

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "train.py", line 17, in from dataset import hierarchical_dataset, AlignCollate, Batch_Balanced_Dataset python3.6/site-packages/wand/image.py", line 18, in from . import assertions python3.6/site-packages/wand/assertions.py", line 155, in from .color import Color # noqa: E402 python3.6/site-packages/wand/color.py", line 10, in from .api import library python3.6/site-packages/wand/api.py", line 177, in 'Try to install:\n ' + msg) ImportError: MagickWand shared library not found. You probably had not installed ImageMagick library. Try to install: apt-get install libmagickwand-dev train.sh: line 6: --SequenceModeling: command not found

roatienza commented 2 years ago

apt-get install libmagickwand-dev