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
XrayGLM_pytorch
Commits
a302ca09
Unverified
Commit
a302ca09
authored
May 25, 2023
by
MPU王荣胜
Committed by
GitHub
May 25, 2023
Browse files
Update README.md
parent
942e0af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
README.md
README.md
+19
-0
No files found.
README.md
View file @
a302ca09
...
...
@@ -47,6 +47,25 @@
|MIMIC-CXR-zh|-|-|
|OpenI-zh|6,423|
[
诊疗报告
](
./data/Xray/openi-zh.json
)
、
[
X光影像
](
https://pan.baidu.com/s/13GBsDMKf6xBZBSHpoWH_EA?pwd=k9sh
)
|
# 快速上手
1.
安装环境
```
bash
# 安装依赖
pip
install
-r
requirements.txt
# 国内换源安装依赖
pip
install
-i
https://mirrors.aliyun.com/pypi/simple/
-r
requirements.txt
```
此时默认会安装
`deepspeed`
库(支持
`sat`
库训练),此库对于模型推理并非必要,同时部分
`Windows`
环境安装此库时会遇到问题。 如果想绕过
`deepspeed`
安装,我们可以将命令改为:
```
bash
# 安装依赖
pip
install
-i
https://mirrors.aliyun.com/pypi/simple/
-r
requirements_wo_ds.txt
# 安装SwissArmyTransformer
pip
install
-i
https://mirrors.aliyun.com/pypi/simple/
--no-deps
"SwissArmyTransformer>=0.3.6"
```
2.
模型推理
# 项目致谢
1.
[
VisualGLM-6B
](
https://github.com/THUDM/VisualGLM-6B
)
为我们提供了基础的代码参考和实现;
...
...
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