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
bob
bob.learn.pytorch
Commits
7007d842
Commit
7007d842
authored
Mar 08, 2019
by
Anjith GEORGE
Browse files
Merge branch 'fix_keys' into 'master'
Fix the FrameIndexes keys in dataloader See merge request
!23
parents
064ad286
51ea4133
Pipeline
#27886
failed with stages
in 2 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/pytorch/datasets/data_folder.py
View file @
7007d842
...
...
@@ -76,6 +76,9 @@ def get_file_names_and_labels(files, data_folder, extension = ".hdf5", hldi_type
file_keys
=
list
(
f_h5py
.
keys
())
#removes the 'FrameIndexes' key
file_keys
=
[
f
for
f
in
file_keys
if
f
!=
'FrameIndexes'
]
# elements of tuples in the below list are as follows:
# a filename a key is extracted from,
# a label corresponding to the file,
...
...
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