AttributeError: 'module' object has no attribute 'prototype_search_with_coverage_state'
Closed this issue · 2 comments
wubin1836 commented
tuzhaopeng commented
"prototype_search_with_coverage_state" 是experiments/nmt/state.py中的定义的一个prototype(可以认为是一个dict),在运行该代码之前,你首先需要安装整个包,这样程序才能找到对应位置的state.py:
To install NMT-Coverage in a multi-user setting
python setup.py develop --user
For general installation, simply use
python setup.py develop
NOTE: This will install the development version of Theano, if Theano is not currently installed.
wubin1836 commented
非常感谢,这么快的回复我:)