Using XResNet152 pretrained (or any XResNet2? Is it available for use? (model_urls is not defined err)

I just found that there are apparently pretrained XResNets (XResNet2) in the github repository and immediately tried to put one to use (need it badly for a work project).

However, this call:

learn = cnn_learner(data, models.xresnet152(pretrained=True), metrics=[error_rate]).mixup()

hits this error:

/usr/local/lib/python3.6/site-packages/fastai/vision/models/ in xresnet152(pretrained, **kwargs)
197 “”"
198 model = XResNet(Bottleneck, [3, 8, 36, 3], **kwargs)
–> 199 if pretrained: model.load_state_dict(model_zoo.load_url(model_urls[‘xresnet152’]))
200 return model

NameError: name ‘model_urls’ is not defined

Are these XResNet2 models available for use or do we have to wait for FastAI 2.0? And if available, how do I fix the model_url definition?


well think I found the answer - wait for FastAI 2.0: