-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add model and ground_truth tarball examples
- Loading branch information
1 parent
0652ba8
commit a6afa39
Showing
16 changed files
with
88 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
grand_challenge_forge/partials/algorithm-template/model/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
You can upload your method's model separately from the container image as a tarball (.tar.gz). Alternatively, you can include it in the container-image build by adding it to the `resources/`. | ||
|
||
A tarball is easier to update than the entire container image. | ||
|
||
If provided, the tarball will be extracted to `/opt/ml/model/` at runtime. |
3 changes: 3 additions & 0 deletions
3
..._forge/partials/algorithm-template/model/a_tarball_subdirectory/some_tarball_resource.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Inside a_tarball_subdirectory/some_tarball_resource.txt | ||
This might be some resource you would require to do a forward pass. | ||
For instance: some weights for your model. |
1 change: 1 addition & 0 deletions
1
grand_challenge_forge/partials/algorithm-template/resources/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
With the instructions in the Dockerfile, the contents of this `resources/` directory will be included in the Docker image when build. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
grand_challenge_forge/partials/example-algorithm/model/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
You can upload your method's model separately from the container image as a tarball (.tar.gz). Alternatively, you can include it in the container-image build by adding it to the `resources/`. | ||
|
||
A tarball is easier to update than the entire container image. | ||
|
||
If provided, the tarball will be extracted to `/opt/ml/model/` at runtime. |
3 changes: 3 additions & 0 deletions
3
...e_forge/partials/example-algorithm/model/a_tarball_subdirectory/some_tarball_resource.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Inside a_tarball_subdirectory/some_tarball_resource.txt | ||
This might be some resource you would require to do a forward pass. | ||
For instance: some weights for your model. |
1 change: 1 addition & 0 deletions
1
grand_challenge_forge/partials/example-algorithm/resources/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
With the instructions in the Dockerfile, the contents of this `resources/` directory will be included in the Docker image when build. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
grand_challenge_forge/partials/example-evaluation-method/ground_truth/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
You can upload your method's ground truth separately from the container image as a tarball (.tar.gz). Alternatively, you can include it in the container-image build by adding it to the `resources/`. | ||
|
||
A tarball is easier to update than the entire container image. | ||
|
||
If provided, the tarball will be extracted to `/opt/ml/input/data/ground_truth/` at runtime. |
3 changes: 3 additions & 0 deletions
3
...s/example-evaluation-method/ground_truth/a_tarball_subdirectory/some_tarball_resource.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Inside a_tarball_subdirectory/some_tarball_resource.txt | ||
This might be some resource you would require to evaluate a submission. | ||
For instance: some ground truth for each image for your model. |
1 change: 1 addition & 0 deletions
1
grand_challenge_forge/partials/example-evaluation-method/resources/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
With the instructions in the Dockerfile, the contents of this `resources/` directory will be included in the Docker image when build. |
2 changes: 1 addition & 1 deletion
2
...ion-method/ground_truth/some_resource.txt → ...uation-method/resources/some_resource.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Inside ground_truth/some_resource.txt | ||
# Inside resources/some_resource.txt | ||
This might be some resource you would require to evaluate a submission. | ||
For instance: some ground truth for each image for your model. |