Can I train my keras model inside a dash callback ( start the training when i click on button)?
Yes. However, for anything but toy examples, the training time will be so long that an async evaluation would be preferable (otherwise, the app freezes until the training completes).
Thank you Emil,
the situation in my case obligate to train the model inside a callback because it depends on some groupby functions chosen by the user in order to have the data.
the problem is the app don’t execute keras part.
i can share the code with you if you want to help