Traceback (most recent call last):


 "/usr/local/bin/scrapyd-deploy", line 292, in <module>

main()


 "/usr/local/bin/scrapyd-deploy", line 81, in main

projects = json.loads(f.read())['projects']


 "/usr/lib/python3.4/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Traceback (most recent call last):


 "/home/T1/train.py", line 73, in <module>

main(config)


 "/home/T1/train.py", line 54, in main

trainer.train()


 "/home/T1/base/base_trainer.py", line 63, in train

result = self._train_epoch(epoch)


 "/home/T1/trainer/trainer.py", line 72, in _train_epoch

self.lr_scheduler.step()
TypeError: step() missing 1 required positional argument: 'metrics'
