Three limits in one policy: matching, exploring, and when to start exploring.
Mirrors tbp/monty/experiment/recognition_strategy.py::StepLimit. Which limit
applies depends on what the model is doing:
- exploring —
exploring_stepsagainstnum_exploring_steps; - training —
matching_stepsagainstmax_train_steps, and oncemin_train_stepshave matched it also asks to start exploring, which is how a training episode moves on to the next view of an object it knows; - evaluating —
matching_stepsagainstmax_eval_steps.
Summary
Functions
The limit that applies to what the model is doing right now.
A policy with the three limits.
Functions
@spec call(map(), Monty.Experiment.RecognitionStrategy.RecognitionCounter.t(), map()) :: Monty.Experiment.RecognitionStrategy.RecognitionResult.t()
The limit that applies to what the model is doing right now.
A policy with the three limits.
Monty raises ValueError for a negative minimum or a non-positive maximum;
here that is {:error, message} with Monty's own words, checked in the same
order Monty checks them.