You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If either the key model_type or taskmodule_type (see here) are used as a parameter in the constructor of a model or taskmodule, respectively, it is not possible to instantiate the respective objects via .from_pretrained and this error message is displayed (dummy is the value of the redefined model_type):
Error in call to target 'pytorch_ie.auto.AutoPipeline.from_pretrained':
RegistrationError('dummy is not a registered name for PyTorchIEModel.')
The text was updated successfully, but these errors were encountered:
ArneBinder
changed the title
catch Error if model_type is redefeined in experiment config
catch Error if model_type is redefeined in model config
Jan 6, 2025
If either the key
model_type
ortaskmodule_type
(see here) are used as a parameter in the constructor of a model or taskmodule, respectively, it is not possible to instantiate the respective objects via.from_pretrained
and this error message is displayed (dummy
is the value of the redefinedmodel_type
):The text was updated successfully, but these errors were encountered: