Comments (6)
try modify this file instead:
/path/to/.cache/modelscope/hub/damo/cv_anytext_text_generation_editing/ms_wrapper.py
from anytext.
It seems like didn't work 😭
And the path is right cause "Model is loaded from cache." is printed in the CLI.
from anytext.
No, not /home/stone/.cache/modelscope/modelscope_modules/cv_anytext_text_generation_editing/ms_wrapper.py
, but /home/stone/.cache/modelscope/hub/damo/cv_anytext_text_generation_editing/ms_wrapper.py
😄
During inference, the previous file is always copied from the subsequent file. Therefore, you need to modify the subsequent file.
from anytext.
The same error 😂
from anytext.
keep the default value of model='damo/cv_anytext_text_generation_editing'
, then modelscope will find the ms_wrapper.py there.
from anytext.
I see, Thank U so much!
I only need to modify this file instead:
/path/to/.cache/modelscope/hub/damo/cv_anytext_text_generation_editing/ms_wrapper.py
and keep pipe = pipeline('my-anytext-task', model='damo/cv_anytext_text_generation_editing', model_revision='v1.1.3')
as default.
from anytext.
Related Issues (20)
- Need help
- 英文训练集 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
- Too many wrong positions are detected HOT 3
- Plan to support model loaded directly from huggingface/diffusers? HOT 1
- remove watermark
- condition的选择
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.