Я запускал в фастае модель ResNeSt, но возникла проблема.
learn = fastai.vision.cnn_learner(data, resnest50(pretrained=True), metrics=[accuracy])
А вот ошибка:
TypeError Traceback (most recent call last)
<ipython-input-4-cff6dd69b503> in <module>
----> 1 learn = fastai.vision.cnn_learner(data, resnest50(pretrained=True), metrics=[accuracy])
F:\Program Files\Python\lib\site-packages\resnest\torch\resnest.py in resnest50(pretrained, root, **kwargs)
38 if pretrained:
39 model.load_state_dict(torch.hub.load_state_dict_from_url(
---> 40 resnest_model_urls['resnest50'], progress=True, check_hash=True))
41 return model
42
TypeError: load_state_dict_from_url() got an unexpected keyword argument 'check_hash'```
Thanks for your help!