Code Monkey home page Code Monkey logo

Comments (5)

tyxsspa avatar tyxsspa commented on July 28, 2024

PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.0.1+cpu)

Hi, 检查下你安装的pytorch,是不是CPU版的?

from anytext.

i-am-vt avatar i-am-vt commented on July 28, 2024

I have the same error as you, and it seems that the official provided code is not working as expected. I had to manually execute conda install pytorch==2.0.1 torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia and specify KMP_DUPLICATE_LIB_OK=TRUE to make it work.
Then I encountered a second issue, which is an charset problem. If you also encounter it, add "encoding='UTF-8'" to all the "open" function calls.

from anytext.

StarLuckLee avatar StarLuckLee commented on July 28, 2024

我和你有同样的错误,看来官方提供的代码没有按预期工作。我必须手动执行conda install pytorch==2.0.1 torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia 并指定KMP_DUPLICATE_LIB_OK=TRUE才能使其工作。 然后我又遇到了第二个问题,就是字符集问题。如果您也遇到这种情况,请在所有打开的调用中添加“encoding='UTF-8'”。

我也碰到了这个问题,请问 " 指定KMP_DUPLICATE_LIB_OK=TRUE " 这一步怎么操作?

from anytext.

i-am-vt avatar i-am-vt commented on July 28, 2024

我和你有同样的错误,看来官方提供的代码没有按预期工作。我必须手动执行conda install pytorch==2.0.1 torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia 并指定KMP_DUPLICATE_LIB_OK=TRUE才能使其工作。 然后我又遇到了第二个问题,就是字符集问题。如果您也遇到这种情况,请在所有打开的调用中添加“encoding='UTF-8'”。

我也碰到了这个问题,请问 " 指定KMP_DUPLICATE_LIB_OK=TRUE " 这一步怎么操作?

Add that to an environment variable, for example, use "set KMP_DUPLICATE_LIB_OK=TRUE" for Windows or "export KMP_DUPLICATE_LIB_OK=TRUE" for Unix-like systems.

from anytext.

StarLuckLee avatar StarLuckLee commented on July 28, 2024

我和你也有同样的错误,看来官方提供的代码没有按预期工作。我必须手动执行conda install pytorch==2.0.1 torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia并指定KMP_DUPLICATE_LIB_OK=TRUE权限工作。然后我又遇到了第二个问题,就是字符集问题。如果您也遇到这种情况,请在所有打开的调用中添加“encoding='UTF-8'”。

我也搞清楚了这个问题,请问“指定KMP_DUPLICATE_LIB_OK=TRUE”这一步怎么操作?

将其添加到环境变量中,例如,set KMP_DUPLICATE_LIB_OK=TRUE对于 Windows 使用“”,export KMP_DUPLICATE_LIB_OK=TRUE对于类 Unix 系统使用“”。

万分感激你的回复与指导,仿佛把我拉出无尽黑暗的深渊,感谢!

from anytext.

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.