Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lucas Miranda
deepOF
Commits
1f24a2f9
Commit
1f24a2f9
authored
Feb 02, 2021
by
lucas_miranda
Browse files
Fixed a bug that made contacts too stringent
parent
3c4fa0b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
deepof/data.py
View file @
1f24a2f9
...
...
@@ -58,7 +58,7 @@ class project:
interpolate_outliers
:
str
=
"MA"
,
interpolation_limit
:
int
=
15
,
interpolation_std
:
int
=
2
,
likelihood_tol
:
float
=
0.
9
,
likelihood_tol
:
float
=
0.
75
,
model
:
str
=
"mouse_topview"
,
path
:
str
=
deepof
.
utils
.
os
.
path
.
join
(
"."
),
smooth_alpha
:
float
=
0.99
,
...
...
deepof/pose_utils.py
View file @
1f24a2f9
...
...
@@ -522,7 +522,7 @@ def rule_based_tagging(
animal_ids
[
1
]
+
bparts
[
-
1
],
hparams
[
"close_contact_tol"
],
arena_abs
,
arena
[
2
],
arena
[
1
][
1
],
)
)
...
...
@@ -540,7 +540,7 @@ def rule_based_tagging(
hparams
[
"side_contact_tol"
],
rev
=
rev
,
arena_abs
=
arena_abs
,
arena_rel
=
arena
[
2
],
arena_rel
=
arena
[
1
][
1
],
)
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment