You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run the code using gitpod.
when I run the 'python3 train.py' then, the error 'AttributeError: 'NoneType' object has no attribute 'strip'' is occur.
How can I fix this error and rerun the code??
The text was updated successfully, but these errors were encountered:
You can change the 91 line code in 'utils.py'.
from: return [x.strip() for x in re.split('(\W+)?', sent) if x.strip()]
to: return [x.strip() for x in re.split('(\W+)(?:\W*)', sent) if x.strip()]
I run the code using gitpod.
when I run the 'python3 train.py' then, the error 'AttributeError: 'NoneType' object has no attribute 'strip'' is occur.
How can I fix this error and rerun the code??
The text was updated successfully, but these errors were encountered: