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
8b1a955b
Commit
8b1a955b
authored
4 years ago
by
Lucas Miranda
Browse files
Options
Downloads
Patches
Plain Diff
Added CustomStopper class to train_utils.py, to start early stopping only after annealing is over
parent
a0dede93
No related branches found
No related tags found
No related merge requests found
Pipeline
#89054
failed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deepof/train_model.py
+2
-2
2 additions, 2 deletions
deepof/train_model.py
deepof_experiments.smk
+1
-1
1 addition, 1 deletion
deepof_experiments.smk
with
3 additions
and
3 deletions
deepof/train_model.py
+
2
−
2
View file @
8b1a955b
...
@@ -218,7 +218,7 @@ arena_dims = args.arena_dims
...
@@ -218,7 +218,7 @@ arena_dims = args.arena_dims
batch_size
=
args
.
batch_size
batch_size
=
args
.
batch_size
hypertun_trials
=
args
.
hpt_trials
hypertun_trials
=
args
.
hpt_trials
encoding_size
=
args
.
encoding_size
encoding_size
=
args
.
encoding_size
exclude_bodyparts
=
list
(
args
.
exclude_bodyparts
.
split
(
"
,
"
))
exclude_bodyparts
=
tuple
(
args
.
exclude_bodyparts
.
split
(
"
,
"
))
gaussian_filter
=
args
.
gaussian_filter
gaussian_filter
=
args
.
gaussian_filter
hparams
=
args
.
hyperparameters
hparams
=
args
.
hyperparameters
input_type
=
args
.
input_type
input_type
=
args
.
input_type
...
@@ -274,7 +274,7 @@ project_coords = project(
...
@@ -274,7 +274,7 @@ project_coords = project(
animal_ids
=
tuple
([
animal_id
]),
animal_ids
=
tuple
([
animal_id
]),
arena
=
"
circular
"
,
arena
=
"
circular
"
,
arena_dims
=
tuple
([
arena_dims
]),
arena_dims
=
tuple
([
arena_dims
]),
exclude_bodyparts
=
(
None
if
exclude_bodyparts
==
[
""
]
else
exclude_bodyparts
)
,
exclude_bodyparts
=
exclude_bodyparts
,
exp_conditions
=
treatment_dict
,
exp_conditions
=
treatment_dict
,
path
=
train_path
,
path
=
train_path
,
smooth_alpha
=
smooth_alpha
,
smooth_alpha
=
smooth_alpha
,
...
...
This diff is collapsed.
Click to expand it.
deepof_experiments.smk
+
1
−
1
View file @
8b1a955b
...
@@ -67,7 +67,7 @@ rule explore_encoding_dimension_and_loss_function:
...
@@ -67,7 +67,7 @@ rule explore_encoding_dimension_and_loss_function:
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
2
5 "
"--val-num 5 "
"--components {wildcards.k} "
"--components {wildcards.k} "
"--input-type coords "
"--input-type coords "
"--predictor 0 "
"--predictor 0 "
...
...
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