Comments (5)
PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.0.1+cpu)
Hi, 检查下你安装的pytorch,是不是CPU版的?
from anytext.
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.
我和你有同样的错误,看来官方提供的代码没有按预期工作。我必须手动执行
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.
我和你有同样的错误,看来官方提供的代码没有按预期工作。我必须手动执行
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.
我和你也有同样的错误,看来官方提供的代码没有按预期工作。我必须手动执行
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)
- 英文训练集 HOT 1
- 关注复现使用的200k数据 HOT 7
- 部署效果差 HOT 1
- Expected all tensors to be on the same device HOT 2
- 变形 HOT 2
- Is there a reason why you chose the pretrained model as stable-diffusion-v1-5? HOT 1
- Performance drop compared to the demo HOT 3
- 生成中文
- 能不能选自己的字体,这个功能很重要
- How to generate picture with Chinese HOT 3
- 文字渲染问题 HOT 4
- I would like to change the pre-train model to stable-diffusion-3-medium and train it. Can you help me?
- Fuse layer problem HOT 1
- OCR model may not load pretrained weights? HOT 2
- May I ask how to maintain modifications to the model code file? HOT 6
- Too many wrong positions are detected HOT 3
- Plan to support model loaded directly from huggingface/diffusers? HOT 1
- remove watermark
- condition的选择
- How to gen/edit bigger(like 2k) image?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anytext.