Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
deepOF
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lucas Miranda
deepOF
Commits
dd013635
Commit
dd013635
authored
4 years ago
by
Lucas Miranda
Browse files
Options
Downloads
Patches
Plain Diff
Added negative log likelihood of a Bernoulli distribution as reconstruction loss
parent
42d242ce
No related branches found
No related tags found
No related merge requests found
Pipeline
#88907
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deepof_experiments.smk
+28
-28
28 additions, 28 deletions
deepof_experiments.smk
with
28 additions
and
28 deletions
deepof_experiments.smk
+
28
−
28
View file @
dd013635
...
@@ -16,7 +16,7 @@ import os
...
@@ -16,7 +16,7 @@ import os
outpath = "/u/lucasmir/DLC/DLC_autoencoders/DeepOF/deepof/logs/"
outpath = "/u/lucasmir/DLC/DLC_autoencoders/DeepOF/deepof/logs/"
losses = ["ELBO", "MMD", "ELBO+MMD"]
losses = ["ELBO", "MMD", "ELBO+MMD"]
encodings = [2, 4, 6, 8, 10, 12, 14, 16]
encodings = [2, 4, 6, 8, 10, 12, 14, 16]
cluster_numbers = [
i+1 for i in range(
10
)
]
cluster_numbers = [10]
rule deepof_experiments:
rule deepof_experiments:
input:
input:
...
@@ -29,33 +29,33 @@ rule deepof_experiments:
...
@@ -29,33 +29,33 @@ rule deepof_experiments:
),
),
rule coarse_hyperparameter_tuning:
#
rule coarse_hyperparameter_tuning:
input:
#
input:
data_path="/u/lucasmir/DLC/DLC_models/deepof_single_topview/",
#
data_path="/u/lucasmir/DLC/DLC_models/deepof_single_topview/",
output:
#
output:
trained_models=os.path.join(
#
trained_models=os.path.join(
outpath,
#
outpath,
"coarse_hyperparameter_tuning/trained_weights/GMVAE_loss={loss}_encoding={encs}_run_1_final_weights.h5",
#
"coarse_hyperparameter_tuning/trained_weights/GMVAE_loss={loss}_encoding={encs}_run_1_final_weights.h5",
),
#
),
shell:
#
shell:
"pipenv run python -m deepof.train_model "
#
"pipenv run python -m deepof.train_model "
"--train-path {input.data_path} "
#
"--train-path {input.data_path} "
"--val-num 25 "
#
"--val-num 25 "
"--components 10 "
#
"--components 10 "
"--input-type coords "
#
"--input-type coords "
"--predictor 0 "
#
"--predictor 0 "
"--variational True "
#
"--variational True "
"--loss {wildcards.loss} "
#
"--loss {wildcards.loss} "
"--kl-warmup 20 "
#
"--kl-warmup 20 "
"--mmd-warmup 20 "
#
"--mmd-warmup 20 "
"--encoding-size 2 "
#
"--encoding-size 2 "
"--batch-size 256 "
#
"--batch-size 256 "
"--window-size 11 "
#
"--window-size 11 "
"--window-step 11 "
#
"--window-step 11 "
"--exclude-bodyparts Tail_base,Tail_1,Tail_2,Tail_tip,Spine_2 "
#
"--exclude-bodyparts Tail_base,Tail_1,Tail_2,Tail_tip,Spine_2 "
"--output-path {outpath}coarse_hyperparameter_tuning "
#
"--output-path {outpath}coarse_hyperparameter_tuning "
"--hyperparameter-tuning hyperband "
#
"--hyperparameter-tuning hyperband "
"--hpt-trials 3"
#
"--hpt-trials 3"
rule explore_encoding_dimension_and_loss_function:
rule explore_encoding_dimension_and_loss_function:
input:
input:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment