Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
Show more breadcrumbs
esde
machine-learning
MLAir
Commits
b9f81da3
Commit
b9f81da3
authored
2 years ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
correct tests
parent
326d94fc
No related branches found
No related tags found
4 merge requests
!468
first implementation of toar-data-v2, can load data (but cannot process these...
,
!467
Resolve "release v2.2.0"
,
!461
Merge Dev into issue400
,
!459
Resolve "improve set keras generator speed"
Pipeline
#106825
passed
2 years ago
Stage: test
Stage: docs
Stage: pages
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_run_modules/test_model_setup.py
+2
-0
2 additions, 0 deletions
test/test_run_modules/test_model_setup.py
with
2 additions
and
0 deletions
test/test_run_modules/test_model_setup.py
+
2
−
0
View file @
b9f81da3
...
@@ -139,6 +139,8 @@ class DummyData:
...
@@ -139,6 +139,8 @@ class DummyData:
def
__init__
(
self
,
number_of_samples
=
np
.
random
.
randint
(
100
,
150
)):
def
__init__
(
self
,
number_of_samples
=
np
.
random
.
randint
(
100
,
150
)):
self
.
number_of_samples
=
number_of_samples
self
.
number_of_samples
=
number_of_samples
self
.
_len
=
self
.
number_of_samples
self
.
_len_upsampling
=
self
.
number_of_samples
def
__len__
(
self
,
upsampling
=
False
):
def
__len__
(
self
,
upsampling
=
False
):
if
upsampling
is
False
:
if
upsampling
is
False
:
...
...
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