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

where MultiLabel define? #3327

Closed
LiemLin opened this issue Sep 21, 2022 · 3 comments
Closed

where MultiLabel define? #3327

LiemLin opened this issue Sep 21, 2022 · 3 comments
Assignees

Comments

@LiemLin
Copy link

LiemLin commented Sep 21, 2022

labels: Optional[MultiLabel] = None,

@w5688414
Copy link
Contributor

from pipelines.schema import Document, Label, MultiLabel

class MultiLabel:

请问您是在什么环境下碰见这部分有问题的

@LiemLin
Copy link
Author

LiemLin commented Sep 21, 2022

git clone https://github.com/PaddlePaddle/PaddleNLP.git
在Mac上用pycharm打开项目,发现代码里提示红色,找不到方法或类型

@LiemLin
Copy link
Author

LiemLin commented Sep 21, 2022

from pipelines.pipelines.schema import Document,MultiLabel
在import后面补上了MultiLabel可以了,谢谢

@LiemLin LiemLin closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants