ufal / neuralmonkey

An open-source tool for sequence learning in NLP built on TensorFlow.
BSD 3-Clause "New" or "Revised" License
410 stars 106 forks source link

Confusing Exception message in dataset.py #797

Open varisd opened 5 years ago

varisd commented 5 years ago

https://github.com/ufal/neuralmonkey/blob/master/neuralmonkey/dataset.py#L85 The message can confuse the user if he accidentally sets both variables to None. The message implies that the user set both values at the same time.