experiment_exists

behavenet.fitting.utils.experiment_exists(hparams, which_version=False)[source]

Search testtube versions to find if experiment with the same hyperparameters has been fit.

Parameters:
  • hparams (dict) – needs to contain enough information to specify a test tube experiment (model + training parameters)

  • which_version (bool, optional) – True to return version number

Returns:

  • bool if which_version=False

  • tuple (bool, int) if which_version=True

Return type:

variable