Issue
I got a ZeroDivision error, checked the last issue with the same error, still not able to solve it.
Posting my words.txt & error below.
ERROR:
Epoch: 1
Train NN
Batch: 1 / 1 Loss: 97.86624
Validate NN
Traceback (most recent call last):
File "main.py", line 145, in <module>
main()
File "main.py", line 132, in main
train(model, loader)
File "main.py", line 42, in train
charErrorRate = validate(model, loader)
File "main.py", line 85, in validate
charErrorRate = numCharErr / numCharTotal
ZeroDivisionError: division by zero
Words.txt
sub-sub-0 X X X X X X X HIGH
sub-sub-1 X X X X X X X RAISED
sub-sub-2 X X X X X X X PERFORMANCE
sub-sub-3 X X X X X X X FINE
sub-sub-4 X X X X X X X MILTON
sub-sub-5 X X X X X X X HUMIDITY
sub-sub-6 X X X X X X X CONDENSATE
...
sub-sub-100 X X X X X X X someword
Versions
Issue I got a ZeroDivision error, checked the last issue with the same error, still not able to solve it. Posting my words.txt & error below.
ERROR:
Words.txt