Traceback (most recent call last):


 "train.py", line 340, in <module>

train(args, device_id)


 "train.py", line 272, in train

trainer.train(train_iter_fct, args.train_steps)


 "/home/wsy/xry/BertSum-master/src/models/trainer.py", line 142, in train

for i, batch in enumerate(train_iter):


 "/home/wsy/xry/BertSum-master/src/models/data_loader.py", line 131, in __iter__

for batch in self.cur_iter:


 "/home/wsy/xry/BertSum-master/src/models/data_loader.py", line 235, in __iter__

batch = Batch(minibatch, self.device, self.is_test)


 "/home/wsy/xry/BertSum-master/src/models/data_loader.py", line 27, in __init__

src = torch.tensor(self._pad(pre_src, 0))


 "/home/wsy/xry/BertSum-master/src/models/data_loader.py", line 14, in _pad

width = max(len(d) for d in data)
ValueError: max() arg is an empty sequence

Traceback (most recent call last):

 "/home/cad/phozone/dev/spyder_openfiles/widgets/openfilesgui.py", line 209, in timerUpdate
data=self.get
Data()

 "/home/cad/phozone/dev/spyder_openfiles/widgets/openfilesgui.py", line 118, in get
Data
cdsLib=self.getCdsLib()

 "/home/cad/phozone/dev/spyder_openfiles/widgets/openfilesgui.py", line 215, in getCdsLib
return k.widget.cdsLibAttributeError: 'oaideWidget' object has no attribute 'cdsLib'