The scripts for training Detectron2-based Layout Models on popular layout analysis datasets
198
stars
54
forks
source link
fix: ValueError: With n_samples=0, test_size=None and train_size=0.8, the resulting train set will be empty. Adjust any of the aforementioned parameters. #7
this does fix this ValueError if you don't have any non-annotated instances.