Returns verified path to local model archive.
model_path- Path to the zipped model. If it's a directory, the latest trained model is returned.
Path to the zipped model. If it's a directory, the latest trained model is returned.
ModelNotFound Exception: When no model could be found at the provided path.
Get the latest model from a path.
model_path- Path to a directory containing zipped models.
Path to latest model in the given directory.
Gets validated path for model to finetune.
previous_model_file- Path to model file which should be used for finetuning or a directory in case the latest trained model should be used.
Path to model archive.
None if there is no model.
Create a hash for the project in the current working directory.