umcu / negation-detection

Negation detection in Dutch clinical text.
GNU General Public License v3.0
3 stars 0 forks source link

Unstable bilstm with cuda #18

Closed sandertan closed 2 years ago

sandertan commented 3 years ago

When using 'cuda' as device in Torch, results are not reproducible. 'cpu' as device does not have this problem.

https://pytorch.org/docs/stable/notes/randomness.html

Also, see https://github.com/CogStack/MedCAT/discussions/85

sandertan commented 2 years ago

Not an issue if we use CPU, which is fine (performance wise)