-
Notifications
You must be signed in to change notification settings - Fork 2
/
installation.html
209 lines (191 loc) · 6.73 KB
/
installation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DIPLOMAT - Installation</title>
<style>
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
header {
background: #351431;
color: #fff;
padding: 2rem;
text-align: center;
position: relative;
overflow: hidden;
}
header h1 {
font-size: 4rem;
font-weight: bold;
margin: 0;
letter-spacing: 0.1em;
transform: scaleY(1.2);
transition: transform 0.1s ease-out;
}
header p {
color: #fff;
margin: 0;
font-size: 1.2rem;
margin-top: 0.5rem;
}
nav {
display: flex;
justify-content: center;
background: #351431;
padding: 1rem;
}
nav a {
position: relative;
margin: 0 1rem;
padding: 0.5rem 1rem;
text-decoration: none;
color: #fff;
border-radius: 5px;
overflow: hidden;
}
nav a:before, nav a:after {
content: '';
position: absolute;
width: 100%;
height: 2px;
background: #96bdc6;
top: 0;
left: -100%;
transition: all 0.3s ease;
}
nav a:after {
top: auto;
bottom: 0;
left: 100%;
}
nav a:hover:before {
left: 100%;
}
nav a:hover:after {
left: -100%;
}
.container {
max-width: 1200px;
margin: auto;
padding: 2rem;
}
h2, h3 {
color: #351431;
}
p {
color: #666;
}
.commands {
background: #fff;
padding: 1rem;
margin: 1rem 0;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.commands pre {
background: #f4f4f4;
padding: 1rem;
border-radius: 5px;
overflow-x: auto;
}
.divider {
height: 2px;
background-color: #351431;
margin: 2rem 0;
}
footer {
background: #351431;
color: #fff;
text-align: center;
padding: 1rem 0;
margin-top: 2rem;
}
footer p {
color: #fff;
}
</style>
</head>
<body>
<header>
<h1 id="logo">DIPLOMAT</h1>
<p>Deep Learning-Based Identity Preserving Labeled-Object Multi-Animal Tracking</p>
<a href="https://github.com/TravisWheelerLab/DIPLOMAT" target="_blank" style="text-decoration: none; color: white;">
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub Logo" style="width: 20px; vertical-align: middle;">
<span style="margin-left: 0.5rem;">DIPLOMAT</span>
</a>
</header>
<nav>
<a href="index.html">Home</a>
<a href="installation.html">Installation</a>
<a href="supplementary.html">Supplementary Information</a>
</nav>
<div class="container">
<section>
<h2>Installation Guide</h2>
<p>This guide will walk you through the steps to set up DIPLOMAT on your system using <a href="https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html" target="_blank">mamba</a>, which can be installed on Windows, Linux, or MacOS using the <a href="https://github.com/conda-forge/miniforge" target="_blank">Miniforge</a> installer.</p>
</section>
<div class="divider"></div>
<section>
<h3>1. Environment Setup</h3>
<p>Installing DIPLOMAT alone is straightforward, but installing either the SLEAP or DeepLabCut front-end can be tricky. For tutorials on creating an environment with both DIPLOMAT and the front-end of your choosing,
refer to the installation tutorials on our <a href="https://diplomat.readthedocs.io/en/latest/installation.html">Read the Docs</a>.
</p>
</section>
<div class="divider"></div>
<section>
<h3>2. Activating the Environment</h3>
<p>After installing DIPLOMAT and the front-end, remember to activate the environment you created.</p>
</section>
<div class="divider"></div>
<section>
<h3>3. Documentation and Additional Help</h3>
<p>For a more thorough explanation of the installation process and alternative installation methods, see the <a href="https://diplomat.readthedocs.io/en/latest/installation.html" target="_blank">official documentation</a>.</p>
<p>All DIPLOMAT commands are documented via help strings. To get more information about a DIPLOMAT subcommand or command, simply run it with the <code>-h</code> or <code>--help</code> flag. For example:</p>
<div class="commands">
<pre># Help for all of DIPLOMAT (lists subcommands of DIPLOMAT):
diplomat --help
# Help for the track subcommand:
diplomat track --help
# Help for the predictors subcommand space:
diplomat predictors --help</pre>
</div>
</section>
<div class="divider"></div>
<section>
<h3>4. Common Commands</h3>
<p>Below are some common commands you might find useful once DIPLOMAT is installed:</p>
<div class="commands">
<pre># Run DIPLOMAT with no UI...
diplomat track -c path/to/config -v path/to/video
# Run DIPLOMAT with UI...
diplomat track_and_interact -c path/to/config -v path/to/video
# Annotate video with labels...
diplomat annotate -c path/to/config -v path/to/video
# Reopen the UI for further modifications...
diplomat interact -s path/to/ui_state.dipui
# Make minor modifications after tracking...
diplomat tweak -c path/to/config -v path/to/video</pre>
</div>
</section>
</div>
<footer>
<p>© 2024 DIPLOMAT Project</p>
<p>See <code>LICENSE</code> for details.</p>
</footer>
<script>
document.addEventListener('mousemove', (e) => {
const logo = document.getElementById('logo');
const movementX = (e.clientX - window.innerWidth / 2) / 50;
const movementY = (e.clientY - window.innerHeight / 2) / 50;
logo.style.transform = `scaleY(1.2) translate(${movementX}px, ${movementY}px)`;
});
</script>
</body>
</html>