DeepKE icon indicating copy to clipboard operation
DeepKE copied to clipboard

样本输出端口

Open lelechallc opened this issue 4 years ago • 1 comments

Describe the question [请问还是上一个问题,]https://github.com/zjunlp/DeepKE/issues/101 我在本地文件中修改 https://github.com/zjunlp/DeepKE/blob/main/src/deepke/relation_extraction/standard/tools/trainer.py的相应代码对run.py的输出没有影响,是不是因为run.py文件import的deepke库是pip导入所导致的,如果是这样的话,想看样本预测值的话有什么方法呢?

非常感谢博主的耐心解答!!

lelechallc avatar Apr 11 '22 09:04 lelechallc

如果要修改后使用代码,不能使用pip包导入。可换成python setup.py install方式导入

tlk1997 avatar Apr 11 '22 09:04 tlk1997