Traceback (most recent call last):


 "/home/tom/PycharmProjects/pekat_vision/server/detector_yolov5/yolo_detector_trainer.py", line 524, in __start_training

torch.save(ckpt, last)


 "/home/tom/miniconda3/envs/pekat_vision2/lib/python3.7/site-packages/torch/serialization.py", line 370, in save

_legacy_save(obj, opened_file, pickle_module, pickle_protocol)


 "/home/tom/miniconda3/envs/pekat_vision2/lib/python3.7/site-packages/torch/serialization.py", line 443, in _legacy_save

pickler.dump(obj)
AttributeError: Can't pickle local object '_initialize.<locals>.patch_forward.<locals>.new_fwd'

Traceback (most recent call last):


 "./scrape.py", line 15, in <module>

token = util.prompt_for_user_token(username, scope)


 "/Users/steve/env/spotify-artist-scrape/lib/python3.5/site-packages/spotipy/util.py", line 86, in prompt_for_user_token

token_info = sp_oauth.get_access_token(code)


 "/Users/steve/env/spotify-artist-scrape/lib/python3.5/site-packages/spotipy/oauth2.py", line 214, in get_access_token

headers=headers, verify=True, proxies=self.proxies)
AttributeError: 'SpotifyOAuth' object has no attribute 'proxies'
