DRGD icon indicating copy to clipboard operation
DRGD copied to clipboard

run with error

Open angeluau opened this issue 5 years ago • 2 comments

wsy@user1-R730:~/tae/DRGD-master$ python main.py -t Using TensorFlow backend. Traceback (most recent call last): File "main.py", line 30, in train(source_helper, target_input_helper, target_output_helper, valid_source_helper, valid_target_output_helper, char_dict) File "/home/wsy/tae/DRGD-master/run.py", line 16, in train model.build() File "/home/wsy/tae/DRGD-master/model.py", line 23, in build self.encoder = Encoder() File "/home/wsy/tae/DRGD-master/encoder.py", line 13, in init self.cell_fw = self.build_cell(self.config['cell_classname'], 'cell_fw') File "/home/wsy/tae/DRGD-master/encoder.py", line 39, in build_cell **self.config['cell']['cell_params']) TypeError: init() got an unexpected keyword argument 'name'

angeluau avatar Mar 22 '19 08:03 angeluau

我也遇到这个问题了,你解决了吗

wangshuo6699 avatar Mar 25 '19 11:03 wangshuo6699

Sorry for getting back so late. The environment should be tensorflow 1.12 + python3.6. The code should work well under such an environment.

StevenWD avatar Mar 25 '19 13:03 StevenWD