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
304 stars 54 forks source link

运行训练模型报错 #9

Closed super017 closed 3 years ago

super017 commented 3 years ago

我在运行训练代码时报错ImportError: cannot import name 'Module'

hitvoice commented 3 years ago

有完整的报错信息(包含stack trace的那种)吗?

super017 commented 3 years ago

我已经找到问题的关键了,我有一个代码文件没有看到,就是那个init.py,导致导入的时候找不到相关的类

hitvoice commented 3 years ago

好的,解决了就好