Skip to content

Allow to modify dinamically training state#18

Merged
viktorbeck98 merged 1 commit intomainfrom
dev_ipmach
Dec 18, 2025
Merged

Allow to modify dinamically training state#18
viktorbeck98 merged 1 commit intomainfrom
dev_ipmach

Conversation

@ipmach
Copy link
Copy Markdown
Contributor

@ipmach ipmach commented Dec 17, 2025

CoreComponent now allow different behaviors of training.

  • Default state: it will train until the data gathered is equal to data_use_training.
  • Stop sate: it will force to stop the training.
  • keep training state: it will force to keep training.
instance = DetectorSomething()

instance.train_state = TrainState.DEFAULT   # (default state)
instance.train_state = TrainState.STOP_TRAINING  # (stop state)
instance.train_state = TrainState.KEEP_TRAINING  # (keep training state)

@ipmach ipmach requested a review from viktorbeck98 December 17, 2025 13:58
@ipmach ipmach self-assigned this Dec 17, 2025
@ipmach ipmach added enhancement New feature or request New feature labels Dec 17, 2025
Copy link
Copy Markdown
Collaborator

@viktorbeck98 viktorbeck98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks!

@viktorbeck98 viktorbeck98 merged commit ce88934 into main Dec 18, 2025
1 check passed
@ipmach ipmach deleted the dev_ipmach branch March 11, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants