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

preprocess.py数据预处理时一些困惑 #25

Closed
mattzheng opened this issue Nov 5, 2019 · 3 comments
Closed

preprocess.py数据预处理时一些困惑 #25

mattzheng opened this issue Nov 5, 2019 · 3 comments

Comments

@mattzheng
Copy link

mattzheng commented Nov 5, 2019

感谢作者的开源~ aspect_user.yaml训练成功,本想用训练好的模型,用自己的数据试一下,好像一直没跑通,卡在makeVocabulary/makeData
通过天池下载了的TaoDescribe 数据集是源数据集;通过download_preprocessed_tao.py下载的是预处理的。
源数据集 -> 预处理数据过程中,在preprocess.py文件中:
其中,In src files, <x> <y> means this product is intended to show with aspect <x> and user category <y>中, aspect <x>这个定义没给出?

@mattzheng
Copy link
Author

感谢作者的开源~ aspect_user.yaml训练成功,本想用训练好的模型,用自己的数据试一下,好像一直没跑通,卡在makeVocabulary/makeData
通过天池下载了的TaoDescribe 数据集是源数据集;通过download_preprocessed_tao.py下载的是预处理的。
源数据集 -> 预处理数据过程中,在preprocess.py文件中:
其中,In src files, <x> <y> means this product is intended to show with aspect <x> and user category <y>中, aspect <x>这个定义没给出?

自问自答一下。。在api.py中有DescriptionGenerator,稍微修改一下.yaml 和 DescriptionGenerator函数就可以预测了。。

@qibinc qibinc closed this as completed Feb 5, 2020
@yuulin
Copy link

yuulin commented Jun 30, 2021

api.py具体怎么修改呢?

@qibinc
Copy link
Collaborator

qibinc commented Jun 30, 2021

Hi @yuulin 关于 的定义,请参见 #14

api.py 中把用到这些tag的部分,换成您自己的tag就可以了~

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

3 participants