Traceback (most recent call last):


 "/home/ubuntu/MaskTrack-master/training/train_offline.py", line 120, in <module>

lr=base_lr, momentum=0.9, weight_decay=weight_decay)


 "/home/ubuntu/anaconda3/envs/pytorch/lib/python2.7/site-packages/torch/optim/sgd.py", line 57, in __init__

super(SGD, self).__init__(params, defaults)


 "/home/ubuntu/anaconda3/envs/pytorch/lib/python2.7/site-packages/torch/optim/optimizer.py", line 39, in __init__

self.add_param_group(param_group)


 "/home/ubuntu/anaconda3/envs/pytorch/lib/python2.7/site-packages/torch/optim/optimizer.py", line 146, in add_param_group

param_group['params'] = list(params)


 "/home/ubuntu/MaskTrack-master/training/utility_functions.py", line 34, in get_1x_lr_params_NOscale

b.append(model.module.Scale.conv1)


 "/home/ubuntu/anaconda3/envs/pytorch/lib/python2.7/site-packages/torch/nn/modules/module.py", line 398, in __getattr__

type(self).__name__, name))
AttributeError: 'Deeplab' object has no attribute 'module'
Original Traceback (most recent call last):


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 185, in _worker_loop

data = fetcher.fetch(index)


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/mmdet/datasets/custom.py", line 191, in __getitem__

data = self.prepare_train_img(idx)


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/mmdet/datasets/custom.py", line 214, in prepare_train_img

return self.pipeline(results)


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/mmdet/datasets/pipelines/compose.py", line 40, in __call__

data = t(data)


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/mmdet/datasets/pipelines/transforms.py", line 512, in __call__

self._pad_masks(results)


 "/home/user/.conda/envs/project/lib/python3.7/site-packages/mmdet/datasets/pipelines/transforms.py", line 493, in _pad_masks

results[key] = results[key].pad(pad_shape, pad_val=self.pad_val)
AttributeError: 'numpy.ndarray' object has no attribute 'pad'
