notAI-tech / deepsegment

A sentence segmenter that actually works!
http://bpraneeth.com/projects
GNU General Public License v3.0
302 stars 56 forks source link

load checkpoint locally #28

Closed kamelnebhi closed 4 years ago

kamelnebhi commented 4 years ago

I try to load the checkpoint locally using this: seg = DeepSegment(lang_code=None, checkpoint_path="path/to/checkpoint")

but it does not work as it will always download the checkpoint.

what is the best way to do that?