Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.pytorch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.learn.pytorch
Commits
eca9f56b
Commit
eca9f56b
authored
6 years ago
by
Olegs NIKISINS
Browse files
Options
Downloads
Patches
Plain Diff
Reverted changes in data_folder related to h5py import
parent
7762c4de
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!6
autoencoders pretraining using RGB faces
Pipeline
#26241
passed
6 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/learn/pytorch/datasets/data_folder.py
+1
-5
1 addition, 5 deletions
bob/learn/pytorch/datasets/data_folder.py
with
1 addition
and
5 deletions
bob/learn/pytorch/datasets/data_folder.py
+
1
−
5
View file @
eca9f56b
...
...
@@ -22,7 +22,7 @@ from torchvision import transforms
import
torch
#
import h5py
import
h5py
#==============================================================================
...
...
@@ -55,8 +55,6 @@ def get_file_names_and_labels(files, data_folder, extension = ".hdf5", hldi_type
frame to extract the data from.
"""
import
h5py
file_names_labels_keys
=
[]
if
hldi_type
==
"
pad
"
:
...
...
@@ -202,8 +200,6 @@ class DataFolder(data.Dataset):
Index of the class.
"""
import
h5py
path
,
target
,
key
=
self
.
file_names_labels_keys
[
index
]
with
h5py
.
File
(
path
,
"
r
"
)
as
f_h5py
:
...
...
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