awesome-semantic-segmentation-pytorch icon indicating copy to clipboard operation
awesome-semantic-segmentation-pytorch copied to clipboard

error about test_model.py

Open lph529372693 opened this issue 4 years ago • 0 comments

Hi

When I run python3 test_model.py --model bisenet --backbone resnet18 ,The following error occurred: Namespace(backbone='resnet18', dataset='pascal_voc', device=device(type='cuda', index=0), epochs=50, lr=0.001, model='bisenet', momentum=0.9, weight_decay=0.0001) Test model: bisenet Traceback (most recent call last): File "test_model.py", line 154, in trainer.train() File "test_model.py", line 118, in train cur_lr = self.lr_scheduler(epoch) TypeError: call() missing 1 required positional argument: 'num_update'

How to solve it? Thanks

lph529372693 avatar Jun 18 '20 07:06 lph529372693