ericxsun / fastText

Library for fast text representation and classification.
Other
15 stars 9 forks source link

Prevent the same filename for inputModel and output model #1

Closed luthfianto closed 6 years ago

luthfianto commented 6 years ago

Sorry, I created this PR without filing an issue first, because I had no way to raise an issue.

Using the same filename for inputModel and output model would empty/overwrite the inputModel and also fail the incremental training. Maybe there is a better way to prevent this or there is a better warning for this.

ericxsun commented 6 years ago

Thanks for your nice work. I noticed the case and done in my local repo. Now, I update.

Thanks again.