thundersvm icon indicating copy to clipboard operation
thundersvm copied to clipboard

Unresponsiveness to interrupts on Google Colaboratory

Open ArktinenSieni opened this issue 5 years ago • 1 comments

Hey! I'm running the library on Google Colaboratory. I am running to issues where fitting of a classifier hangs. Sometimes the same data-set runs in few minutes, and rest of the times the fitting is left hanging. I am not sure if this is due to my hyperparameters, or the Colaboratory's resource management.

My issue is that the Google Colaboratory is unable to interrupt the fitting process. Instead of interruption of single notebook-cell, I have to reset whole notebook to retry the process. In this manner I lose all my variables and progress located in the local memory.

Would there be a way to either interrupt the process safely, or set a time-out to the fitting?

ArktinenSieni avatar Feb 24 '20 13:02 ArktinenSieni

There is no easy way to do in the current version. You can change the maximum number of iterations in ThunderSVM in C++, and recompile the library.

zeyiwen avatar Mar 03 '20 09:03 zeyiwen