MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
956 stars 281 forks source link

Pull Request for Dockerfile Including TextBoxes++ and CRNN pre installed #76

Closed idotobi closed 6 years ago

idotobi commented 6 years ago

Dear Minghui Liao,

I created a Dockerfile for running your project. If you like it you can include it in your repo.

Following changes were made:

mrlihellohorld commented 4 years ago

Dear Minghui Liao,

I created a Dockerfile for running your project. If you like it you can include it in your repo.

Following changes were made:

  • implement new Dockerfile building Textboxes and CRNN with all their dependencies for running on the gpu (nvidia-docker)
  • document usage in README.md
  • add necessary patches to fix compilation errors of some dependencies of CRNN
  • update python requirements to avoid broken dependencies
  • little script run.bash for executing the docker container

Hi, when i run the commend "docker build -t tbpp_crnn:gpu .", the got the follow issue: Step 36/58 : RUN pip install -r python/requirements.txt Downloading/unpacking matplotlib==2.2.2 (from -r python/requirements.txt (line 5)) Running setup.py (path:/tmp/pip_build_root/matplotlib/setup.py) egg_info for package matplotlib

Traceback (most recent call last): File "", line 17, in File "/tmp/pip_build_root/pandas/setup.py", line 749, in **setuptools_kwargs) File "/usr/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in init self.fetch_build_eggs(attrs.pop('setup_requires')) File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs replace_conflicting=True File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 858, in best_match return self.obtain(req, installer) # try and download/install File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 870, in obtain return installer(requirement) File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 314, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 616, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 646, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 834, in install_eggs return self.build_and_install(setup_script, setup_base) File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1040, in build_and_install self.run_setup(setup_script, setup_base, args) File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1025, in run_setup run_setup(setup_script, args) File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 50, in run_setup lambda: execfile( File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 100, in run return func() File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 52, in {'file':setup_script, 'name':'main'} File "setup.py", line 31, in def is_platform_mac(): RuntimeError: Python version >= 3.5 required.

could u help me? thanks