ulf1 / sentence-embedding-evaluation-german

Basically SentEval with German language downstream tasks
Apache License 2.0
0 stars 1 forks source link

ensure that data is moved to CPU memory for sklearn metrics #22

Closed ulf1 closed 2 years ago

ulf1 commented 2 years ago

Error when running on GPU: TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.