Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.tensorflow
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.tensorflow
Merge requests
!89
Cleanup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Cleanup
cleanup
into
master
Overview
19
Commits
16
Pipelines
8
Changes
7
Merged
Tiago de Freitas Pereira
requested to merge
cleanup
into
master
4 years ago
Overview
19
Commits
16
Pipelines
8
Changes
7
Expand
This package needs some clean up
Edited
4 years ago
by
Tiago de Freitas Pereira
0
0
Merge request reports
Compare
master
version 7
5418a982
4 years ago
version 6
66b10575
4 years ago
version 5
be489989
4 years ago
version 4
2ad6d5d0
4 years ago
version 3
9032f59e
4 years ago
version 2
9e21514f
4 years ago
version 1
fe66b694
4 years ago
master (base)
and
version 4
latest version
70d3fe40
16 commits,
4 years ago
version 7
5418a982
14 commits,
4 years ago
version 6
66b10575
8 commits,
4 years ago
version 5
be489989
6 commits,
4 years ago
version 4
2ad6d5d0
5 commits,
4 years ago
version 3
9032f59e
5 commits,
4 years ago
version 2
9e21514f
3 commits,
4 years ago
version 1
fe66b694
2 commits,
4 years ago
7 files
+
35
−
92
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
bob/learn/tensorflow/data/generator.py
+
4
−
4
Options
@@ -14,21 +14,21 @@ class Generator:
@@ -14,21 +14,21 @@ class Generator:
----------
----------
epoch : int
epoch : int
The number of epochs that have been passed so far.
The number of epochs that have been passed so far.
multiple_samples : :obj:`bool`, optional
multiple_samples : :obj:`bool`, optional
If true, it assumes that the bio database
'
s samples actually contain
If true, it assumes that the bio database
'
s samples actually contain
multiple samples. This is useful for when you want to for example treat
multiple samples. This is useful for when you want to for example treat
video databases as image databases.
video databases as image databases.
reader : :obj:`object`, optional
reader : :obj:`object`, optional
A callable with the signature of ``data, label, key = reader(sample)``
A callable with the signature of ``data, label, key = reader(sample)``
which takes a sample and loads it.
which takes a sample and loads it.
samples : [:obj:`object`]
samples : [:obj:`object`]
A list of samples to be given to ``reader`` to load the data.
A list of samples to be given to ``reader`` to load the data.
shuffle_on_epoch_end : :obj:`bool`, optional
shuffle_on_epoch_end : :obj:`bool`, optional
If True, it shuffle the samples at the end of each epoch.
If True, it shuffle the samples at the end of each epoch.
output_types : (object, object, object)
The types of the returned samples.
output_shapes : ``(tf.TensorShape, tf.TensorShape, tf.TensorShape)``
The shapes of the returned samples.
"""
"""
def
__init__
(
def
__init__
(
Loading