coli-saar / alto

Alto, the Algebraic Language Toolkit
Other
16 stars 2 forks source link

Maxent training hangs GUI #17

Open akoehn opened 8 years ago

akoehn commented 8 years ago

Original report by Alexander Koller (Bitbucket: akoller, GitHub: alexanderkoller).


When training a maxent IRTG from the GUI, the GUI can become unresponsive after training is completed. I have seen this happen when training a Geoquery grammar (340 rules, with a RuleNameFeature for each rule) on a Geoquery training corpus (500 instances).

Furthermore, the progress bar that shows during training only updates occasionally, not fluidly.

I suspect this is because the Swing EDT receives a lot of events during training that the invokeLater in withProgressListener never executes.