Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在 demo 模式下运行 run_uie.py ? #31

Open
OStars opened this issue Nov 24, 2023 · 0 comments
Open

如何在 demo 模式下运行 run_uie.py ? #31

OStars opened this issue Nov 24, 2023 · 0 comments

Comments

@OStars
Copy link

OStars commented Nov 24, 2023

我使用和 eval_flan-t5.sh 一样的配置,将 do_predict 改为了 do_demo,先是报错 trainer 缺少 _gen_kwargs,我手动设置了 _gen_kwargs 后又报错 model 和 input 不处于同一 device 上,这是因为 do_demo 模式下 deepspeed 没有初始化模型成功吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant