Open mfeblowitz opened 6 years ago
Yes usually such problems are caused by encoding issues with some special characters. On the one hand, you can do some preprocessing to convert the unicode characters to ascii characters in all training and test files. On the other hand, you may try using encode('utf8') with all the unicode strings. For the model per se, such special characters are unimportant, so just do whatever you feel convenient.
Encountering errors in running predict_network.py, e.g.,
This is just one of many such errors.
Web postings indicate that the use of str() is the culprit in these cases, recommending the use of, e.g., .encode('utf-8'), instead. It's not clear, though, where the root cause might be. The trace indicates that it's writing the results of the parsing subprocess.
Any recommendations for addressing this?