thu-coai / CrossWOZ

A Large-Scale Chinese Cross-Domain Task-Oriented Dialogue Dataset
Apache License 2.0
645 stars 114 forks source link

跑TRADE模型报错 #19

Closed aLowMagic closed 3 years ago

aLowMagic commented 4 years ago

Traceback (most recent call last): File "convlab2/dst/trade/crosswoz/train.py", line 104, in if(acc >= avg_best): TypeError: '>=' not supported between instances of 'list' and 'float' 请问可不可以提供最新版本的代码呢

nikitacs16 commented 3 years ago

Remove line 238 in convlab2/dst/trade/crosswoz/models/TRADE.py

zz-jacob commented 3 years ago

Remove line 238 in convlab2/dst/trade/crosswoz/models/TRADE.py

That's right, we can fix this bug by removing this line. The code is updated.