model = sent2vec.Sent2vecModel()
model.load_model('sexy_results.bin')
The code above kills the Python process without throwing error like FileNotFound, if model file not exists in the underlying directory. Could you please handle these kind of cases?
Hi,
The code above kills the Python process without throwing error like
FileNotFound
, if model file not exists in the underlying directory. Could you please handle these kind of cases?Thank you!