Traceback (most recent call last):


 "rsf.py", line 29, in <module>

routersploit(sys.argv)


 "rsf.py", line 25, in routersploit

rsf.start()


 "/root/routersploit/routersploit/interpreter.py", line 125, in start

command_handler(args, **kwargs)


 "/root/routersploit/routersploit/core/exploit/utils.py", line 177, in wrapper

return fn(self, *args, **kwargs)


 "/root/routersploit/routersploit/interpreter.py", line 394, in command_run

print_error(traceback.format_exc(sys.exc_info()))


 "/usr/lib/python3.6/traceback.py", line 167, in format_exc

return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))


 "/usr/lib/python3.6/traceback.py", line 121, in format_exception

type(value), value, tb, limit=limit).format(chain=chain))


 "/usr/lib/python3.6/traceback.py", line 509, in __init__

capture_locals=capture_locals)


 "/usr/lib/python3.6/traceback.py", line 338, in extract

if limit >= 0:
TypeError: '>=' not supported between instances of 'tuple' and 'int'

Traceback (most recent call last):


 "run/run_training.py", line 109, in <module>

trainer.run_training()


 "/datasets/work/d61-singular-seg/reference/VerSe2020-Data/David/nnUNet-master/nnunet/training/network_training/nnUNetTrainer.py", line 284, in run_training

super(nnUNetTrainer, self).run_training()


 "/datasets/work/d61-singular-seg/reference/VerSe2020-Data/David/nnUNet-master/nnunet/training/network_training/network_trainer.py", line 357, in run_training

l = self.run_iteration(self.tr_gen, True)


 "/datasets/work/d61-singular-seg/reference/VerSe2020-Data/David/nnUNet-master/nnunet/training/network_training/network_trainer.py", line 524, in run_iteration

data_dict = next(data_generator)


 "/home/tu012/.local/lib/python3.6/site-packages/batchgenerators/dataloading/single_threaded_augmenter.py", line 45, in __next__

item = next(self.data_loader)


 "/home/tu012/.local/lib/python3.6/site-packages/batchgenerators/dataloading/data_loader.py", line 126, in __next__

return self.generate_train_batch()


 "/datasets/work/d61-singular-seg/reference/VerSe2020-Data/David/nnUNet-master/nnunet/training/dataloading/dataset_loading.py", line 467, in generate_train_batch

valid_slices = np.where(np.sum(case_all_data[-1] == selected_class, axis=[i for i in range(3) if i != leading_axis]))[0]


 "<__array_function__ internals>", line 6, in sum


 "/home/tu012/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 2229, in sum

initial=initial, where=where)


 "/home/tu012/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction

return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: 'list' object cannot be interpreted as an integer
