File "D:/Pycharmprojects/BERT-NER-Pytorch/run_ner_crf.py", line 496, in
main()
File "D:/Pycharmprojects/BERT-NER-Pytorch/run_ner_crf.py", line 437, in main
global_step, tr_loss = train(args, train_dataset, model, tokenizer)
File "D:/Pycharmprojects/BERT-NER-Pytorch/run_ner_crf.py", line 34, in train
train_sampler = RandomSampler(train_dataset) if args.local_rank == -1 else DistributedSampler(train_dataset)
File "D:\anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\sampler.py", line 107, in init
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0
File "D:/Pycharmprojects/BERT-NER-Pytorch/run_ner_crf.py", line 496, in
main()
File "D:/Pycharmprojects/BERT-NER-Pytorch/run_ner_crf.py", line 437, in main
global_step, tr_loss = train(args, train_dataset, model, tokenizer)
File "D:/Pycharmprojects/BERT-NER-Pytorch/run_ner_crf.py", line 34, in train
train_sampler = RandomSampler(train_dataset) if args.local_rank == -1 else DistributedSampler(train_dataset)
File "D:\anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\sampler.py", line 107, in init
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0
Process finished with exit code 1