Traceback (most recent call last):


 "tools/train.py", line 92, in <module>

main(args)


 "tools/train.py", line 87, in main

trainer.run(train_dataloader, val_dataloader, evaluator)


 "/home/xxx/Workspace/nanodet-main/nanodet/trainer/trainer.py", line 136, in run

results, train_loss_dict = self.run_epoch(epoch, train_loader, mode='train')


 "/home/xxx/Workspace/nanodet-main/nanodet/trainer/trainer.py", line 74, in run_epoch

data_loader.sampler.set_epoch(epoch)
AttributeError: 'RandomSampler' object has no attribute 'set_epoch'

Traceback (most recent call last):


 "/usr/lib64/python3.7/cmd.py", line 214, in onecmd

func = getattr(self, 'do_' + cmd)
AttributeError: 'RemoteShell' object has no attribute 'do_net'
