alibaba-edu / simple-effective-text-matching-pytorch

A pytorch implementation of the ACL2019 paper "Simple and Effective Text Matching with Richer Alignment Features".
Apache License 2.0
305 stars 54 forks source link

这个代码执行顺序是什么?执行入口在哪里?不报错但是没有结果 #17

Open 1264561652 opened 1 year ago

1264561652 commented 1 year ago

这个代码执行顺序是什么?执行入口在哪里?不报错但是没有结果

hitvoice commented 1 year ago

可以贴一下你运行了什么吗?

1264561652 commented 1 year ago

先运行了prepare_quora.py,然后运行train.py之后,如下图

在 2023-03-03 18:56:52,"Runqi Yang" @.***> 写道:

可以贴一下你运行了什么吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hitvoice commented 1 year ago

https://github.com/alibaba-edu/simple-effective-text-matching-pytorch/issues/17

我这里看不到你的图,你执行的config文件是什么?

1264561652 commented 1 year ago

E:pytorch2\python.exe F:/代码/simple-effective-text-matching-pytorch/src/trainer.py Traceback (most recent call last): File "F:/代码/simple-effective-text-matching-pytorch/src/trainer.py", line 23, in from .utils.loader import load_data ImportError: attempted relative import with no known parent package

hitvoice commented 1 year ago

https://github.com/alibaba-edu/simple-effective-text-matching-pytorch#usage

请按照这里的指示运行

1264561652 commented 1 year ago

好的,十分感谢