gesistsa / grafzahl

🧛 fine-tuning Transformers for text data from within R
https://gesistsa.github.io/grafzahl/
GNU General Public License v3.0
41 stars 2 forks source link

Error in py_call_impl #22

Closed tweedmann closed 1 year ago

tweedmann commented 1 year ago

Hello there,

thanks for this amazing package. I tried it out yesterday and I was able to train a model. However, once I wanted to use the trained model to predict new data, I received the following error message:

_Error in py_call_impl(callable, dots$args, dots$keywords) : ValueError: 'use_cuda' set to True when cuda is unavailable. Make sure CUDA is available or set usecuda=False.

The error message appears whether I set use_cude to TRUE or FALSE.

Do you have any idea why I receive this error message or what I could do?

Thanks in advance Tobias

chainsawriot commented 1 year ago

sessionInfo(), please.

chainsawriot commented 1 year ago

Also #19

Please make sure you are using the github version.

tweedmann commented 1 year ago

Apologies, I have overlooked #19 before. After working with the github version, the error message disappeared. Thanks for your help!