33>
44> 📜 If you use this template, borrow some of its code, or refer to it, please cite it as shown on GitHub! 📜
55
6- > [ !IMPORTANT ]
6+ > [ !NOTE ]
77> ** TEMPLATE TODO:**
88> Replace the title below with your project title, then delete this note.
99
1010# Python Machine Learning Research Template
1111
1212## Overview
1313
14- > [ !IMPORTANT ]
14+ > [ !NOTE ]
1515> ** TEMPLATE TODO:**
1616> Replace the description below with a description of your project, then delete this note.
1717
@@ -50,7 +50,7 @@ For a brief discussion of the template's design choices, features, and a Q&A che
5050
5151## Getting started with the template
5252
53- > [ !IMPORTANT ]
53+ > [ !NOTE ]
5454> ** TEMPLATE TODO:**
5555> Delete this whole section when you're done with the template getting started.
5656
@@ -64,29 +64,31 @@ It's useful to commit after some checkpoints to be able to go back if you make a
6464Some instructions will send you to different READMEs in the template that will compile nicely together in the end.
6565Remember to get back to this root one after finishing each step.
6666
67- 1 . Clone the repo with destination ` PROJECT_NAME ` .
67+ 1 . Clone the repo with destination `PROJECT_NAME. See where and how below:
6868 - If you plan to develop on your local computer, clone it there.
69- - If you plan to develop or deploy on a remote server/cluster without a build engine
70- (e.g., EPFL Run: ai clusters, SCITAS clusters), clone on your local machine.
71- (You will build the image on your local machine then clone there for deployment.
69+ - If you plan to develop or deploy on a remote server/cluster without access to a build engine
70+ (e.g., EPFL Run: ai /Kubernetes clusters, SCITAS clusters), clone on your local machine.
71+ (You will build the image on your local machine, then clone on your server for deployment.
7272 Docker allows cross-platform builds with emulation, but it can be slow.
7373 We would recommend that your local machine is of the same platform as the cluster (e.g. ` amd64 ` , ` arm64 ` ),
7474 or that you have access to a remote Docker engine running on the same platform as the cluster.)
75- - If you plan to develop on a remote server/cluster with a build enginewith direct access over say SSH, e.g. EPFL HaaS)) clone it there.
76- (e.g. EPFL HaaS, CSCS Clariden) clone it there.
77- ```
78- # For your local machine clone anywhere.
79- # For clusters with scratch filesystems with a cleaning policy, clone in your home directory.
80- # The training artifacts will be later stored on the scratch filesystem and symlinked to this directory.
81- # Also note the creation of a `dev` instance of the repo (And later `run` instance for unattended jobs)
82- mkdir PROJECT_NAME
83- cd PROJECT_NAME
84- git clone <HTTPS/SSH> dev
85- cd dev
86- # The current directory is referred to as PROJECT_ROOT
87- ```
75+ - If you plan to develop on a remote server/cluster with access to a build engine
76+ (e.g. EPFL HaaS, CSCS Clariden), clone it there.
77+ ``` bash
78+ # For your local machine clone anywhere
79+
80+ # For clusters with scratch filesystems with a cleaning policy, clone in your home directory (no cleaning policy).
81+ # The training artifacts will be later stored on the scratch filesystem and symlinked to this directory.
82+
83+ # Note the creation of a `dev` instance of the repo (And later `run` instance for unattended jobs)
84+ # This allows to run unattended jobs in the `run` while changing the code in the `dev`.
85+ mkdir PROJECT_NAME
86+ cd PROJECT_NAME
87+ git clone < Git SSH URL> dev
88+ cd dev
89+ # The current directory is referred to as PROJECT_ROOT
90+ ```
8891 We will refer to the absolute path to the root of the repository as ` PROJECT_ROOT ` .
89-
90922 . Fill the template variables in ` template/template-variables.env ` by
9193 editing the ones with the ` $NEW_ ` prefix, then run the script
9294 ``` bash
@@ -187,7 +189,7 @@ Here are a few tips for keeping your project in good shape.
187189
188190### Code and development environment
189191
190- > [ !IMPORTANT ]
192+ > [ !NOTE ]
191193> ** TEMPLATE TODO** :
192194> Update the installation methods and platforms you support, delete the rest, and delete this note.
193195> I.e. keep either Docker or Conda, or both, or multiple of each if you support multiple platforms.
@@ -223,7 +225,7 @@ We support the following methods and platforms for installing the project depend
223225
224226### Data
225227
226- > [ !IMPORTANT ]
228+ > [ !NOTE ]
227229> ** TEMPLATE TODO** :
228230> Fill ` data/README.md ` or delete this section, then delete this note.
229231
@@ -240,7 +242,7 @@ Otherwise, the runs will be anonymous (you don't need to be logged in).
240242
241243### Reproducing our results
242244
243- > [ !IMPORTANT ]
245+ > [ !NOTE ]
244246> ** TEMPLATE TODO** :
245247> Keep these scripts up to date and run your experiments using them.
246248> Do provide the W&B runs and trained models or update this section.
@@ -263,7 +265,7 @@ You can get examples of how to do so in the `reproducibility-scripts/` directory
263265
264266## Repository structure
265267
266- > [ !IMPORTANT ]
268+ > [ !NOTE ]
267269> ** TEMPLATE TODO** :
268270> Provide a quick overview of the main files in the repo for users to understand your code,
269271> then delete this note.
0 commit comments