Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ClearML demo
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
MDT Research IT Solutions
ClearML demo
Commits
2446e4b2
Commit
2446e4b2
authored
2 years ago
by
Brummans, Nick
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
90d9c75f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pipeline.py
+2
-1
2 additions, 1 deletion
pipeline.py
with
2 additions
and
1 deletion
pipeline.py
+
2
−
1
View file @
2446e4b2
from
clearml
import
PipelineController
from
clearml
import
TaskTypes
import
google.appengine.api
# We will use the following function an independent pipeline component step
# notice all package imports inside the function will be automatically logged as
...
...
@@ -14,6 +13,7 @@ def step_one(
):
print
(
'
step_one
'
)
from
clearml
import
Dataset
import
google.appengine.api
dataset_train
=
Dataset
.
create
(
dataset_name
=
dataset_name_training
,
dataset_project
=
dataset_project
...
...
@@ -45,6 +45,7 @@ def step_two(
lr
:
float
=
1e-3
):
print
(
'
step_two
'
)
import
google.appengine.api
import
pickle
import
torchvision.transforms
as
transforms
import
torchvision.datasets
as
datasets
...
...
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