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
How to handle the case when my dataset contains images with no texts. .i.e empty annotations files
Right now it gives - ValueError: need at least one array to stack error
The text was updated successfully, but these errors were encountered:
(that would be simpler if you left the full error with traceback)
In that case you should build your tuple with np.array() (or None) instead of np.stack(quads). But I can't say for sure that the rest of the code won't complain that you return an empty array.
How to handle the case when my dataset contains images with no texts. .i.e empty annotations files
Right now it gives -
ValueError: need at least one array to stack
errorThe text was updated successfully, but these errors were encountered: