Open Adityagrao opened 6 years ago
Have you tried to print the type of the value you pass ?
Try tensorflow version under 1.4.0. The hps
API has changed around version 1.4~1.5, and this repository's code doesn't work after that.
You need to see mode.value if you are running TF version > 1.4.
@Adityagrao
Here you go. This code is executable with Tensorflow>=1.5.0
.
https://github.com/seungwonpark/pointer-generator
@abisee
Would you mind listing this repository to "About this code" section of README.md
, like:
Python 3, Tensorflow>=1.5.0 version: see @seungwonpark's fork
Thanks in advance.
I tried manually passing inside the run() with argv. I have tried passing it as command and string ie --mode=train and --mode="train"
Using Python 3.6 Tensorlfow 1.8