CAREamics / careamics

A deep-learning library for N2V and friends
https://careamics.github.io/
BSD 3-Clause "New" or "Revised" License
28 stars 5 forks source link

Add stop training method #249

Open jdeschamps opened 5 days ago

jdeschamps commented 5 days ago

Description

If CAREamics is used in a multithreaded application (e.g. napari plugin), then we need a way to stop the training programmatically. This PR add a stop_training method to the CAREamist.

Additionally, this PR removes the unused parameter experiment_name from the CAREamist.

Changes Made


Please ensure your PR meets the following requirements:

melisande-c commented 4 days ago

Can’t take a proper look rn but the last paragraph of the docstring in CAREamist.__init__ mentions the experiment name so I guess this should also be removed.

Fixes #195

jdeschamps commented 1 day ago

Can’t take a proper look rn but the last paragraph of the docstring in CAREamist.init mentions the experiment name so I guess this should also be removed.

Good catch!