zackhy / TextClassification

Text classification using different neural networks (CNN, LSTM, Bi-LSTM, C-LSTM).
MIT License
195 stars 60 forks source link

Type Error #2

Closed purohitvivek8 closed 6 years ago

purohitvivek8 commented 6 years ago

Type Error:flag value must be string,found "<class,'int'>" hELLO @zackhy WHEN i RUN test.py its give me this error

zackhy commented 6 years ago

@purohitvivek8 fixed. I think the problem is because I used tf.flags.DEFINE_string() to set batch_size. It should be tf.flags.DEFINE_integer().

purohitvivek8 commented 6 years ago

Ok @zackhy