CogComp / lbjava

Learning Based Java (LBJava)
http://cogcomp.cs.illinois.edu/page/software_view/LBJava
Other
13 stars 17 forks source link

Saving learner models in non-existing dir #96

Open christos-c opened 8 years ago

christos-c commented 8 years ago

The Learner.saveModel() method should probably check if the directory we are about to save in exists or not. Right now, it just throws an exception and dies, which can be annoying if you've just been training a big model. Similarly for the Learner.saveLexicon() method.

danyaljj commented 8 years ago

thanks for pointing it out, but I don't think I can do it in close future, if that's urgent ugh.

christos-c commented 8 years ago

You can always reassign it :)