diff --git a/deepof/models.py b/deepof/models.py index dfab0614b611b6160c663d69ae0d228eda3d6d6f..e03768a79418bacc82064565b1f0d62001db7b81 100644 --- a/deepof/models.py +++ b/deepof/models.py @@ -776,4 +776,4 @@ class SEQ_2_SEQ_GMVAE: # - Check usefulness of stateful sequential layers! (stateful=True in the LSTMs) # - Investigate full covariance matrix approximation for the latent space! (details on tfp course) :) # - Explore expanding the event dims of the final reconstruction layer -# - Gaussian Mixture as output layer? One component per bodypart (makes sense?) \ No newline at end of file +# - Gaussian Mixture as output layer? One component per bodypart (makes sense?) diff --git a/deepof/train_model.py b/deepof/train_model.py index 8e3b88c737e9826b5d79a9f42e1720f377b4f352..238de4c708e6d7f0035584bfa90587881a488743 100644 --- a/deepof/train_model.py +++ b/deepof/train_model.py @@ -405,18 +405,16 @@ if not tune: description="weight applied to phenotypic classifier from the latent space", ) ) - metrics.append( - [ - hp.Metric( - "phenotype_prediction_accuracy", - display_name="phenotype_prediction_accuracy", - ), - hp.Metric( - "phenotype_prediction_auc", - display_name="phenotype_prediction_auc", - ), - ] - ) + metrics += [ + hp.Metric( + "phenotype_prediction_accuracy", + display_name="phenotype_prediction_accuracy", + ), + hp.Metric( + "phenotype_prediction_auc", + display_name="phenotype_prediction_auc", + ), + ] with tf.summary.create_file_writer( os.path.join(output_path, "hparams", run_ID) diff --git a/deepof_experiments.smk b/deepof_experiments.smk index 8e0f16bceef28ba2c3f1a1923fd27d2aa59386b9..74eb9d98ba523ac8725ee14371f19bee5417049f 100644 --- a/deepof_experiments.smk +++ b/deepof_experiments.smk @@ -120,4 +120,4 @@ rule explore_phenotype_classification: "--window-size 11 " "--window-step 11 " "--stability-check 3 " - "--output-path {outpath}dimension_and_loss_experiments" + "--output-path {outpath}pheno_classification_experiments"