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
on this line: entityList = json.loads(entityList)
when entityList input string equals to null(which was produced for my dataset by tagMe.py), entityList would be of type None and it will cause error while iterating on upcoming lines.
For now I assigned entityList to an empty list when it is None.
The text was updated successfully, but these errors were encountered:
Hello, can you run build_ Network, what is the distribution of training set and test set? My training set is the number of tags * 2, but my number of tags is only 2, making my training set 4.
trainnum 4
4 4 79993
train: 4
vali: 4
test: 79993
AllTexts: 80001
text-ent: : 48366it [00:01, 28899.68it/s]
on this line:
entityList = json.loads(entityList)
when
entityList
input string equals tonull
(which was produced for my dataset by tagMe.py),entityList
would be of typeNone
and it will cause error while iterating on upcoming lines.For now I assigned
entityList
to an empty list when it isNone
.The text was updated successfully, but these errors were encountered: