You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Traceback (most recent call last):
File "/home/sidorenko/sandbox/venv-3.3/bin/discourse_segmenter", line 6, in <module>
exec(compile(open(__file__).read(), __file__, 'exec'))
File "/home/sidorenko/sandbox/venv-3.3/DiscourseSegmenter/scripts/discourse_segmenter", line 318, in <module>
main(sys.argv[1:])
File "/home/sidorenko/sandbox/venv-3.3/DiscourseSegmenter/scripts/discourse_segmenter", line 307, in main
segmenter = BparSegmenter(a_model = args.model)
File "/home/sidorenko/sandbox/venv-3.3/DiscourseSegmenter/dsegmenter/bparseg/bparsegmenter.py", line 373, in __init__
self._update_segmenter(a_model)
File "/home/sidorenko/sandbox/venv-3.3/DiscourseSegmenter/dsegmenter/bparseg/bparsegmenter.py", line 550, in _update_segmenter
self.model = joblib.load(a_model)
File "/home/sidorenko/sandbox/venv-3.3/lib/python3.3/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 425, in load
obj = unpickler.load()
File "/usr/lib64/python3.3/pickle.py", line 840, in load
dispatch[key[0]](self)
File "/usr/lib64/python3.3/pickle.py", line 985, in load_short_binstring
value = str(data, self.encoding, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb1 in position 1: ordinal not in range(128)
Expected:
Segmented file
The text was updated successfully, but these errors were encountered:
Delivered pre-built model cannot be unpacked when using python3.
Steps:
dsegmenter
in new environment:Segmented file
The text was updated successfully, but these errors were encountered: