Hi, I'm using the gensim forked version, but when I'm loading the model I have this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf7 in position 0: ordinal not in range(128)
I try to encode the name of the model like this:
model = g.Doc2Vec.load(model_path.encode('utf-8'))
But then I have this error:
File "C:\Users\fanta\Desktop\gensim-develop\gensim\utils.py", line 311, in _adapt_by_suffix
if fname.endswith('.gz') or fname.endswith('.bz2'):
TypeError: endswith first arg must be bytes or a tuple of bytes, not str
What I must do solve this error?
Thanks.