jiesutd / NCRFpp

NCRF++, a Neural Sequence Labeling Toolkit. Easy use to any sequence labeling tasks (e.g. NER, POS, Segmentation). It includes character LSTM/CNN, word LSTM/CNN and softmax/CRF components.
Apache License 2.0
1.89k stars 446 forks source link

run decode by cpu on model trained by GPU #142

Closed luoyangen closed 5 years ago

luoyangen commented 5 years ago

hi,i trained a segment model on a gpu cluster,while my local machine has no gpu, I'm wandering whether I can make some configuration to run the decode step in this situation thx

luoyangen commented 5 years ago

modified some variable like hp_gpu and successed.