Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
AnyText_pytorch
Commits
12fa5947
Commit
12fa5947
authored
Jan 23, 2024
by
mashun1
Browse files
Update README.md
parent
b95c05a9
Pipeline
#714
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
README.md
README.md
+12
-1
No files found.
README.md
View file @
12fa5947
...
@@ -128,6 +128,15 @@ https://huggingface.co/openai/clip-vit-large-patch14/tree/main
...
@@ -128,6 +128,15 @@ https://huggingface.co/openai/clip-vit-large-patch14/tree/main
│ └── trg_vocab.txt
│ └── trg_vocab.txt
└── README.md
└── README.md
### 字体下载
下载并重命名
arialuni.ttf -> Arial_Unicode.ttf
文件结构
font/
└── Arial_Unicode.ttf
### 命令行
### 命令行
# 快速运行
# 快速运行
...
@@ -138,6 +147,8 @@ https://huggingface.co/openai/clip-vit-large-patch14/tree/main
...
@@ -138,6 +147,8 @@ https://huggingface.co/openai/clip-vit-large-patch14/tree/main
export ATTN_PRECISION=fp16
export ATTN_PRECISION=fp16
CUDA_VISIBLE_DEVICES=x python demo.py
CUDA_VISIBLE_DEVICES=x python demo.py
注意:需要下载字体文件并放入tiff中,如Arial_Unicode.ttf。
## 训练
## 训练
无
无
...
@@ -168,4 +179,4 @@ https://developer.hpccube.com/codes/modelzoo/anytext_pytorch
...
@@ -168,4 +179,4 @@ https://developer.hpccube.com/codes/modelzoo/anytext_pytorch
## 参考资料
## 参考资料
https://github.com/tyxsspa/AnyText
https://github.com/tyxsspa/AnyText
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment