Traceback (most recent call last):


 "examples/text-classification/run_pl_glue.py", line 228, in <module>

main()


 "examples/text-classification/run_pl_glue.py", line 218, in main

trainer = generic_train(model, args)


 "/home/ejp416/complexity/examples/lightning_base.py", line 400, in generic_train

trainer.fit(model)


 "/home/ejp416/miniconda3/envs/complexity2/lib/python3.7/site-packages/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn

result = fn(self, *args, **kwargs)


 "/home/ejp416/miniconda3/envs/complexity2/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1072, in fit

model = self.accelerator_backend.setup(model)


 "/home/ejp416/miniconda3/envs/complexity2/lib/python3.7/site-packages/pytorch_lightning/accelerators/gpu_backend.py", line 34, in setup

self.trainer.call_setup_hook(model)


 "/home/ejp416/miniconda3/envs/complexity2/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1444, in call_setup_hook

model.setup(stage_name)


 "/home/ejp416/complexity/examples/lightning_base.py", line 175, in setup

self.train_loader = self.get_dataloader("train", self.hparams.train_batch_size, shuffle=True)


 "examples/text-classification/run_pl_glue.py", line 98, in get_dataloader

all_token_type_ids = torch.tensor([f.token_type_ids for f in features], dtype=torch.long)
TypeError: an integer is required (got type NoneType)

Traceback (most recent call last):


 "/builddir/build/BUILD/eventlet-0.23.0/tests/wsgi_test.py", line 473, in test_013_empty_return

server_side=True)


 "/builddir/build/BUILD/eventlet-0.23.0/eventlet/convenience.py", line 158, in wrap_ssl

return wrap_ssl_impl(sock, *a, **kw)


 "/builddir/build/BUILD/eventlet-0.23.0/eventlet/green/ssl.py", line 379, in wrap_socket

return GreenSSLSocket(sock, *a, **kw)


 "/builddir/build/BUILD/eventlet-0.23.0/eventlet/green/ssl.py", line 68, in __init__

ca_certs, do_handshake_on_connect and six.PY2, *args, **kw)


 "/usr/lib64/python3.7/ssl.py", line 788, in __init__

f"{self.__class__.__name__} does not have a public "
TypeError: GreenSSLSocket does not have a public constructor. Instances are returned by SSLContext.wrap_socket().
