Traceback (most recent call last):


 ".\gui\builtinViews\fittingView.py", line 104, in OnData

self.dropFn(x, y, data)


 ".\gui\builtinViews\fittingView.py", line 190, in handleListDrag

self.swapItems(x, y, int(data[1]))


 ".\gui\builtinViews\fittingView.py", line 400, in swapItems

sFit.cloneModule(self.mainFrame.getActiveFit(), mod1.position, mod2.position)


 ".\service\fit.py", line 616, in cloneModule

if new.fits(fit):


 ".\eos\saveddata\module.py", line 401, in fits

for attr in self.itemModifiedAttributes.keys():


 "C:\Python27\lib\_abcoll.py", line 410, in keys

return list(self)


 ".\eos\modifiedAttributeDict.py", line 131, in __iter__

all = dict(self.__original, **self.__modified)
TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):


 "/data/users/yonatab/transformers_pip/QA/run_qa_val_more_valueable.py", line 557, in <module>

main()


 "/data/users/yonatab/transformers_pip/QA/run_qa_val_more_valueable.py", line 538, in main

results = trainer.evaluate()


 "/data/users/yonatab/transformers_pip/QA/trainer_qa.py", line 63, in evaluate

metrics = self.compute_metrics(eval_preds)


 "/data/users/yonatab/transformers_pip/QA/run_qa_val_more_valueable.py", line 499, in compute_metrics

return metric.compute(predictions=p.predictions, references=p.label_ids)


 "/data/users/yonatab/transformers_pip/trans_pip/lib/python3.6/site-packages/datasets/metric.py", line 398, in compute

output = self._compute(predictions=predictions, references=references, **kwargs)


 "/home/ec2-user/.cache/huggingface/modules/datasets_modules/metrics/squad_v2/7529efd518b03f775290694e7b797412cb2253e90b4f843af83cf7434cccb3a8/squad_v2.py", line 108, in _compute

exact_raw, f1_raw = get_raw_scores(dataset, predictions)


 "/home/ec2-user/.cache/huggingface/modules/datasets_modules/metrics/squad_v2/7529efd518b03f775290694e7b797412cb2253e90b4f843af83cf7434cccb3a8/evaluate.py", line 111, in get_raw_scores

gold_answers = [a["text"] for a in qa["answers"] if normalize_answer(a["text"])]


 "/home/ec2-user/.cache/huggingface/modules/datasets_modules/metrics/squad_v2/7529efd518b03f775290694e7b797412cb2253e90b4f843af83cf7434cccb3a8/evaluate.py", line 111, in <listcomp>

gold_answers = [a["text"] for a in qa["answers"] if normalize_answer(a["text"])]
TypeError: string indices must be integers
