Commit 12fa5947 authored by mashun1's avatar mashun1
Browse files

Update README.md

parent b95c05a9
Pipeline #714 failed with stages
in 0 seconds
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment