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
What an amazing work, however, when I tried to inference kosmos model from hugging face, there was an error:
NotImplementedError: A model class needs to define a prepare_inputs_for_generation method in order to use .generate().
The text was updated successfully, but these errors were encountered:
342215448
changed the title
No implement of generate() when using models from
No implement of generate() when using models from hugging face.
Nov 14, 2023
What an amazing work, however, when I tried to inference kosmos model from hugging face, there was an error:
NotImplementedError: A model class needs to define a
prepare_inputs_for_generation
method in order to use.generate()
.The text was updated successfully, but these errors were encountered: