Skip to content

Commit

Permalink
adjusted main output
Browse files Browse the repository at this point in the history
  • Loading branch information
runninghsus committed May 13, 2020
1 parent 25f3e91 commit bf68f54
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions bsoid_umap/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,13 @@ def main(train_folders, predict_folders):
Automatically saves and loads classifier in OUTPUTPATH with MODELNAME in LOCAL_CONFIG
Automatically saves CSV files containing training and new outputs
"""
f_10fps, umap_embeddings, nn_classifier, scores, nn_assignments = build(train_folders)
f_10fps, f_10fps_sc, umap_embeddings, hdb_assignments, soft_assignments, soft_clusters, nn_classifier, \
scores, nn_assignments = build(train_folders)
data_new, fs_labels = run(predict_folders)
return f_10fps, umap_embeddings, nn_classifier, scores, nn_assignments, data_new, fs_labels
return f_10fps, f_10fps_sc, umap_embeddings, hdb_assignments, soft_assignments, soft_clusters, nn_classifier, \
scores, nn_assignments, data_new, fs_labels


if __name__ == "__main__":
f_10fps, umap_embeddings, nn_classifier, scores, nn_assignments, \
data_new, fs_labels = main(TRAIN_FOLDERS, PREDICT_FOLDERS)
f_10fps, f_10fps_sc, umap_embeddings, hdb_assignments, soft_assignments, soft_clusters, nn_classifier, \
scores, nn_assignments, data_new, fs_labels = main(TRAIN_FOLDERS, PREDICT_FOLDERS)

0 comments on commit bf68f54

Please sign in to comment.