ValueError: invalid literal for int with base 10: '0-' 0. Function returns invalid literal for int with base 10: ' 0. RNN classification fails unless I use an embedding. Without embedding, all predictions are the same class. What does ValueError: invalid literal for int with base 10 indicate? NEO bbbb.py', line 22, in b = int(MaxAggl.getOutput(0)) ValueError: invalid literal for int with base 10: '4375' you help me first time to convert the result to value. And there is no direct conversion from float stored string to int in Python.
The problem I am having is when I capture my new starting incident number and write it to incident.txt if I then call self.refresh which is the module I get the error below that I need to run to refresh the entire program ... in fact when I check the file there is nothing written to it.... but if I don't send it to refresh , (remove the call self.refresh) but shut it down and restart it ... everything works fine the information is written to the file... my question is why isn't it being written the way I have it written .... and is there a fix ?