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
16ae83f8
Commit
16ae83f8
authored
2 years ago
by
Brummans, Nick
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
efc0bb3c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
stage_one.py
+1
-1
1 addition, 1 deletion
stage_one.py
stage_two.py
+1
-1
1 addition, 1 deletion
stage_two.py
with
2 additions
and
2 deletions
stage_one.py
+
1
−
1
View file @
16ae83f8
...
@@ -2,7 +2,7 @@ from clearml import Task, Dataset
...
@@ -2,7 +2,7 @@ from clearml import Task, Dataset
task
=
Task
.
init
(
project_name
=
"
pipeline
"
,
task
=
Task
.
init
(
project_name
=
"
pipeline
"
,
task_name
=
"
pipeline step 1 dataset artifact
"
)
task_name
=
"
pipeline step 1 dataset artifact
"
)
task
.
add_requirements
(
"
./requirements.txt
"
)
task
.
add_requirements
(
"
-r
./requirements.txt
"
)
# only create the task, it will be executed remotely later
# only create the task, it will be executed remotely later
task
.
execute_remotely
()
task
.
execute_remotely
()
...
...
This diff is collapsed.
Click to expand it.
stage_two.py
+
1
−
1
View file @
16ae83f8
...
@@ -77,7 +77,7 @@ def validate(model, testloader, criterion):
...
@@ -77,7 +77,7 @@ def validate(model, testloader, criterion):
task
=
Task
.
init
(
project_name
=
"
pipeline
"
,
task
=
Task
.
init
(
project_name
=
"
pipeline
"
,
task_name
=
"
pipeline step 2 train model
"
)
task_name
=
"
pipeline step 2 train model
"
)
task
.
add_requirements
(
"
./requirements.txt
"
)
task
.
add_requirements
(
"
-r
./requirements.txt
"
)
# only create the task, we will actually execute it later
# only create the task, we will actually execute it later
task
.
execute_remotely
()
task
.
execute_remotely
()
...
...
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