Loading pretrain model issue
#1
by
ray869924
- opened
Hello,
When I load the pre-trained model using the following code, I encounter an issue related to the use_auth_token parameter.
The code is as follows:
from dgmr import DGMR
model = DGMR.from_pretrained("openclimatefix/dgmr")
The error message is as follows:
TypeError: NowcastingModelHubMixin._from_pretrained() missing 1 required positional argument: 'use_auth_token'
I have attempted to input my Access Token, but it does not seem to resolve the problem. Could someone please advise on the appropriate steps to address this issue?
Thanks.