Giter Club home page Giter Club logo

Comments (13)

haneSier avatar haneSier commented on May 29, 2024

你是安装的时候出错吗

from crnn_chinese_characters_rec.

haneSier avatar haneSier commented on May 29, 2024

还是使用

from crnn_chinese_characters_rec.

haneSier avatar haneSier commented on May 29, 2024

推荐用Ubuntu 16.04系统

from crnn_chinese_characters_rec.

Lemonyue avatar Lemonyue commented on May 29, 2024

是的,难道跟cuda有关?

from crnn_chinese_characters_rec.

haneSier avatar haneSier commented on May 29, 2024

编译试下加sudo. 我的是pytorch-gpu cuda9.0

from crnn_chinese_characters_rec.

Sierkinhane avatar Sierkinhane commented on May 29, 2024

@Lemonyue https://github.com/SeanNaren/Warp-ctc/issues可以参考这里提的issue解决方案

from crnn_chinese_characters_rec.

beimingmaster avatar beimingmaster commented on May 29, 2024

yue@yue-Vostro-3668:/crnn_chinese_characters_rec$ cd warp-ctc/pytorch_binding
yue@yue-Vostro-3668:/crnn_chinese_characters_rec/warp-ctc/pytorch_binding$ python setup.py install
Torch was not built with CUDA support, not building warp-ctc GPU extensions.
generating build/warpctc_pytorch/_warp_ctc/__warp_ctc.c
(already up-to-date)
not modified: 'build/warpctc_pytorch/_warp_ctc/__warp_ctc.c'
running install
Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/test-easy-install-8801.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/usr/local/lib/python3.5/dist-packages/

Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

https://pythonhosted.org/setuptools/easy_install.html

Please make the appropriate changes for your system and try again.

“Permission denied” 这种错误一般就是权限问题,命令加sudo即可。

from crnn_chinese_characters_rec.

huazai-1994 avatar huazai-1994 commented on May 29, 2024

@Sierkinhane default编译出错,不知道怎么弄。请问你知道哪里出了问题吗?

from crnn_chinese_characters_rec.

haneSier avatar haneSier commented on May 29, 2024

你是Ubuntu 什么版本

from crnn_chinese_characters_rec.

huazai-1994 avatar huazai-1994 commented on May 29, 2024

@haneSier 16.04

from crnn_chinese_characters_rec.

tbfly avatar tbfly commented on May 29, 2024

18.04 ubuntu system, can replace by: https://github.com/jpuigcerver/pytorch-baidu-ctc.

https://pypi.org/project/torch-baidu-ctc/
just:
pip3 install torch-baidu-ctc

from crnn_chinese_characters_rec.

Sierkinhane avatar Sierkinhane commented on May 29, 2024

Good job

from crnn_chinese_characters_rec.

sunzjz avatar sunzjz commented on May 29, 2024

@Sierkinhane default编译出错,不知道怎么弄。请问你知道哪里出了问题吗?

我也遇到同样的问题,请问你解决了吗,非常感谢

from crnn_chinese_characters_rec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.