training log:
max_size of vocab was specified as 50000; we now have 50000 words. Stopping reading.
Finished constructing vocabulary of 50000 total words. Last word added: chaudhary
Traceback (most recent call last):
File "training_ptr_gen/train.py", line 150, in
train_processor.trainIters(config.max_iterations, args.model_file_path)
File "training_ptr_gen/train.py", line 121, in trainIters
iter, running_avg_loss = self.setup_train(model_file_path)
File "training_ptr_gen/train.py", line 57, in setup_train
self.optimizer = Adagrad(params, lr=initial_lr, initial_accumulator_value=config.adagrad_init_acc)
TypeError: init() got an unexpected keyword argument 'initial_accumulator_value'
i use pytorch0.3, tensorflow1.2.
Please help.
Thanks.
training log: max_size of vocab was specified as 50000; we now have 50000 words. Stopping reading. Finished constructing vocabulary of 50000 total words. Last word added: chaudhary Traceback (most recent call last): File "training_ptr_gen/train.py", line 150, in
train_processor.trainIters(config.max_iterations, args.model_file_path)
File "training_ptr_gen/train.py", line 121, in trainIters
iter, running_avg_loss = self.setup_train(model_file_path)
File "training_ptr_gen/train.py", line 57, in setup_train
self.optimizer = Adagrad(params, lr=initial_lr, initial_accumulator_value=config.adagrad_init_acc)
TypeError: init() got an unexpected keyword argument 'initial_accumulator_value'
i use pytorch0.3, tensorflow1.2.
Please help.
Thanks.