โœŠ๐Ÿฟ Black Lives Matter. Please consider donating to Black Girls Code today.
๐Ÿ‡ Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Keras model inside dash app

Hi there,
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