Traceback (most recent call last):

 "run_language_modeling.py", line 284, in <module>
main()

 "run_language_modeling.py", line 254, in main
trainer.train(model_path=model_path)

 "C:\Users\AppData\Roaming\Python\Python38\site-packages\transformers\trainer.py", line 243, in train
train_dataloader = self.get_train_dataloader()

 "C:\Users\AppData\Roaming\Python\Python38\site-packages\transformers\trainer.py", line 179, in get_train_dataloader
RandomSampler(self.train_dataset) if self.args.local_rank == -1 else DistributedSampler(self.train_dataset)

 "C:\Users\Anaconda3\envs\kompetence\lib\site-packages\torch\utils\data\sampler.py", line 93, 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 
"""

Traceback (most recent call last):


 "/usr/local/lib64/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner

response = get_response(request)


 "/usr/local/lib64/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib64/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/usr/local/lib64/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view

return view_func(request, *args, **kwargs)


 "/home/website/beta_uwsgi/git/swym_django/app/views.py", line 276, in vision_process

resp = gclient.annotate_image({'image' : img, 'features' : features})


 "/usr/local/lib/python2.7/site-packages/google/cloud/vision_helpers/__init__.py", line 67, in annotate_image

r = self.batch_annotate_images([request], retry=retry, timeout=timeout)


 "/usr/local/lib/python2.7/site-packages/google/cloud/vision_v1/gapic/image_annotator_client.py", line 156, in batch_annotate_images

requests=requests)
ValueError: Field name must be a string
