Configuration can be loaded or passed; Added gpu_id parameter #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This update introduces enhanced configuration flexibility: configurations can now be specified either as a string pointing to an INI file or as a struct containing the configuration parameters.
Motivation
Summary of Changes
BotSORTclass. However, users directly accessing specific components of the library will need to use parameter structs, asBotSORTnow handles loading parameters into structs.Loadfunctions as been added that takes the variable in which to store the value in but leaves the value unchanged if it is not present in the INI file. This is important since the default values are in the structs, not in the loading from the file[[nodiscard]]to theGetfunction set so that warnings will be thrown if a value was discarded. This is to help mitigate issues with the usage ofGetwhen it should have beenLoad,New ReID Parameter:
gpu_idparameter has been added to specify which GPU a model should use in multi-GPU environments.Track ID Retrieval: