Skip to content
GitLab
Menu
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
d7c98303
Commit
d7c98303
authored
Nov 20, 2020
by
lucas_miranda
Browse files
Refactored a bit the old visualization pipeline - added umap-learn to requirements
parent
969955d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
deepof/data.py
View file @
d7c98303
...
...
@@ -66,6 +66,11 @@ class project:
self
.
path
=
path
self
.
video_path
=
self
.
path
+
"/Videos/"
self
.
table_path
=
self
.
path
+
"/Tables/"
self
.
table_format
=
table_format
if
self
.
table_format
==
"autodetect"
:
self
.
table_format
=
os
.
listdir
(
os
.
path
.
join
(
self
.
path
,
"Tables"
))[
0
][
-
3
:]
self
.
videos
=
sorted
(
[
vid
...
...
@@ -87,11 +92,6 @@ class project:
self
.
scales
=
self
.
get_scale
self
.
smooth_alpha
=
smooth_alpha
self
.
video_format
=
video_format
self
.
table_format
=
table_format
if
self
.
table_format
==
"autodetect"
:
self
.
table_format
=
os
.
listdir
(
os
.
path
.
join
(
self
.
path
,
"Tables"
))[
0
][:
-
3
:]
self
.
angles
=
True
self
.
distances
=
"all"
self
.
ego
=
False
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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