jennamk14 commited on
Commit
630fc1b
·
verified ·
1 Parent(s): 1c36a14

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +98 -73
README.md CHANGED
@@ -15,82 +15,71 @@ tags:
15
  ---
16
 
17
  # Model Card for X3D-KABR-Kinetics
18
- X3D-KABR-Kinetics is a behavior recognition
 
 
 
 
 
 
 
19
 
20
  ## Model Details
21
 
22
  ### Model Description
23
 
24
- <!-- Provide a longer summary of what this model is. -->
 
 
 
 
25
 
26
- - **Developed by:** [More Information Needed]
27
- - **Model type:** [More Information Needed]
28
- - **Language(s) (NLP):** [More Information Needed]
29
- - **License:** [More Information Needed -- choose a license (see above notes)]
30
- - **Fine-tuned from model:** [More Information Needed]
31
 
32
- ### Model Sources
33
 
34
- <!-- Provide the basic links for the model. -->
35
 
36
- - **Repository:** [Project Repo]
37
- - **Paper:** [More Information Needed--optional]
38
- - **Demo:** [More Information Needed--encouraged]
39
 
40
  ## Uses
41
 
42
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
 
44
  ### Direct Use
45
 
46
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
-
48
- [More Information Needed]
49
 
50
- ### Downstream Use
51
-
52
- <!-- [optional] This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
-
54
- [More Information Needed]
55
 
56
  ### Out-of-Scope Use
57
 
58
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
-
60
- [More Information Needed]
61
 
 
62
  ## Bias, Risks, and Limitations
63
 
64
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
-
66
  [More Information Needed]
67
 
68
  ### Recommendations
69
 
70
  <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
-
72
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
 
74
  ## How to Get Started with the Model
75
 
76
- Use the code below to get started with the model.
77
-
78
- <!-- Put code here or links to files to run. Set up code blocks like this:
79
- ```
80
- <code here>
81
- ```
82
- -->
83
-
84
- [More Information Needed]
85
 
86
  ## Training Details
87
 
88
  ### Training Data
89
 
90
- <!-- This should link to a Dataset Card where possible, otherwise link to the original source with more info.
91
- Provide a basic overview of the training data and documentation related to data pre-processing or additional filtering. -->
92
-
93
- [More Information Needed]
94
 
95
  ### Training Procedure
96
 
@@ -98,23 +87,37 @@ Provide a basic overview of the training data and documentation related to data
98
 
99
  #### Preprocessing
100
 
101
- [More Information Needed--encouraged]
 
 
 
 
 
 
102
 
 
 
 
103
 
104
  #### Training Hyperparameters
105
 
106
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
 
 
107
 
 
 
 
108
  #### Speeds, Sizes, Times
109
 
110
  <!-- [optional] This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
111
-
112
  [More Information Needed]
113
 
114
  ## Evaluation
115
 
116
  <!-- This section describes the evaluation protocols and provides the results. -->
117
-
118
  [More Information Needed]
119
 
120
  ### Testing Data, Factors & Metrics
@@ -123,19 +126,19 @@ Provide a basic overview of the training data and documentation related to data
123
 
124
  <!-- This should link to a Dataset Card if possible, otherwise link to the original source with more info.
125
  Provide a basic overview of the test data and documentation related to any data pre-processing or additional filtering. -->
126
-
127
  [More Information Needed]
128
 
129
  #### Factors
130
 
131
  <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
132
-
133
  [More Information Needed]
134
 
135
  #### Metrics
136
 
137
  <!-- These are the evaluation metrics being used, ideally with a description of why. -->
138
-
139
  [More Information Needed]
140
 
141
  ### Results
@@ -149,7 +152,7 @@ Provide a basic overview of the test data and documentation related to any data
149
  ## Model Examination
150
 
151
  <!-- [optional] Relevant interpretability work for the model goes here -->
152
-
153
  [More Information Needed]
154
 
155
  ## Environmental Impact
@@ -158,8 +161,9 @@ Provide a basic overview of the test data and documentation related to any data
158
  It would be great to try to include this.
159
 
160
  Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
161
-
162
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://doi.org/10.48550/arXiv.1910.09700).
 
163
 
164
  - **Hardware Type:** [More Information Needed]
165
  - **Hours used:** [More Information Needed]
@@ -191,62 +195,83 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
191
  <!-- If there is a paper introducing the model, the Bibtex information for that should go in this section.
192
 
193
  See notes at top of file about selecting a license.
194
- If you choose CC0: This model is dedicated to the public domain for the benefit of scientific pursuits. We ask that you cite the model and journal paper using the below citations if you make use of it in your research.
 
195
 
196
  -->
197
 
198
  **BibTeX:**
199
 
200
- [More Information Needed]
201
- <!--
202
- Replace "<>"s with your info:
203
 
204
  If you use our model in your work, please cite the model and associated paper.
205
 
206
  **Model**
207
  ```
208
- @software{<ref_code>,
209
- author = {<author1 and author2>},
 
 
 
 
210
  doi = {<doi once generated>},
211
- title = {<title>},
212
- version = {<version#>},
213
- year = {<year>},
214
- url = {https://huggingface.co/imageomics/<model_name>}
215
  }
216
  ```
217
 
218
- -for an associated paper:
219
  **Paper**
220
  ```
221
- @article{<ref_code>,
222
- title = {<title>},
223
- author = {<author1 and author2>},
224
- journal = {<journal_name>},
225
- year = <year>,
226
- url = {<DOI_URL>},
227
- doi = {<DOI>}
228
  }
229
  ```
230
- -->
 
 
 
 
 
 
 
 
 
 
 
 
 
231
 
232
 
233
  ## Acknowledgements
234
 
235
- This work was supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
 
 
 
 
 
236
 
 
237
  ## Glossary
238
 
239
  <!-- [optional] If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
240
-
241
  ## More Information
242
 
243
  <!-- [optional] Any other relevant information that doesn't fit elsewhere. -->
244
 
 
245
  ## Model Card Authors
246
 
247
- [More Information Needed]
248
 
249
  ## Model Card Contact
250
 
251
- [More Information Needed--optional]
252
  <!-- Could include who to contact with questions, but this is also what the "Discussions" tab is for. -->
 
15
  ---
16
 
17
  # Model Card for X3D-KABR-Kinetics
18
+ X3D-KABR-Kinetics is a behavior recognition model for in situ drone videos of zebras and giraffes,
19
+ built using X3D model initialized on Kinetics weights.
20
+ It is trained on the [KABR dataset](https://huggingface.co/datasets/imageomics/KABR),
21
+ which is comprised of 10 hours of aerial video footage of reticulated giraffes
22
+ (*Giraffa reticulata*), Plains zebras (*Equus quagga*), and Grevy’s zebras
23
+ (*Equus grevyi*) captured using a DJI Mavic 2S drone.
24
+ It includes both spatiotemporal (i.e., mini-scenes) and behavior annotations provided by an expert
25
+ behavioral ecologist.
26
 
27
  ## Model Details
28
 
29
  ### Model Description
30
 
31
+ - **Developed by:** [Maksim Kholiavchenko, Maksim Kukushkin, Otto Brookes, Jenna Kline, Sam Stevens, Isla Duporge, Alec Sheets,
32
+ Reshma R. Babu, Namrata Banerji, Elizabeth Campolongo,
33
+ Matthew Thompson, Nina Van Tiel, Jackson Miliko,
34
+ Eduardo Bessa Mirmehdi, Thomas Schmid,
35
+ Tanya Berger-Wolf, Daniel I. Rubenstein, Tilo Burghardt, Charles V. Stewart]
36
 
37
+ - **Model type:** [X3D]
38
+ - **License:** [MIT]
39
+ - **Fine-tuned from model:** [X3D-S, Kinetics]
 
 
40
 
41
+ This model was developed for the benefit of the community as an open-source product, thus we request that any derivative products are also open-source.
42
 
43
+ ### Model Sources
44
 
45
+ - **Repository:** [Project Repo](https://github.com/Imageomics/kabr-tools)
46
+ - **Paper:** [Paper Link](https://openaccess.thecvf.com/content/WACV2024W/CV4Smalls/papers/Kholiavchenko_KABR_In-Situ_Dataset_for_Kenyan_Animal_Behavior_Recognition_From_Drone_WACVW_2024_paper.pdf)
47
+ - **Demo** [Project Page](https://kabrdata.xyz/)
48
 
49
  ## Uses
50
 
51
+ X3D-KABR-Kinetics has extensively studied ungulate behavior classification from aerial video.
52
 
53
  ### Direct Use
54
 
55
+ Please look at the [demo](https://github.com/Imageomics/kabr-tools) here for examples of how this model can generate time-budgets from aerial video of animals.
 
 
56
 
 
 
 
 
 
57
 
58
  ### Out-of-Scope Use
59
 
60
+ This model was trained to detect and classify behavior from drone videos of zebras and giraffes in Kenya. It may not perform well on other species or settings.
 
 
61
 
62
+ <!--
63
  ## Bias, Risks, and Limitations
64
 
65
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+ <!--
67
  [More Information Needed]
68
 
69
  ### Recommendations
70
 
71
  <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+ This model was trained to detect and classify behavior from drone videos of zebras and giraffes in Kenya. It may not perform well on other species or settings.
 
73
 
74
  ## How to Get Started with the Model
75
 
76
+ Please take a look at the [demo](https://github.com/Imageomics/kabr-tools) to get started with the model.
 
 
 
 
 
 
 
 
77
 
78
  ## Training Details
79
 
80
  ### Training Data
81
 
82
+ [KABR Dataset](https://huggingface.co/datasets/imageomics/KABR)
 
 
 
83
 
84
  ### Training Procedure
85
 
 
87
 
88
  #### Preprocessing
89
 
90
+ Raw drone videos were pre-processed using CVAT to detect and track each individual animal in each
91
+ high-resolution video and link the results into tracklets.
92
+ For each tracklet, we create a separate video, called a mini-scene, by extracting a sub-image centered on each
93
+ detection in a video frame.
94
+ This allows us to compensate for the drone's movement and provides a stable, zoomed-in representation of the animal.
95
+
96
+ See [project page](https://kabrdata.xyz/) and the [paper](https://openaccess.thecvf.com/content/WACV2024W/CV4Smalls/papers/Kholiavchenko_KABR_In-Situ_Dataset_for_Kenyan_Animal_Behavior_Recognition_From_Drone_WACVW_2024_paper.pdf) for data preprocessing details.
97
 
98
+ We applied data augmentation techniques during training, including horizontal flipping to randomly
99
+ mirror the input frames horizontally and color augmentations to randomly modify the
100
+ brightness, contrast, and saturation of the input frames.
101
 
102
  #### Training Hyperparameters
103
 
104
+ The model was trained for 120 epochs, using a batch size of 5.
105
+ We used the EQL loss function to address the long-tailed class distribution and SGD optimizer with a learning rate of 1e5.
106
+ We used a sample rate of 16x5, and random weight initialization.
107
 
108
+ <!-- ADD RESULTS ONCE NEW PAPER PUBLISHED
109
+
110
+ <!--
111
  #### Speeds, Sizes, Times
112
 
113
  <!-- [optional] This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
114
+ <!--
115
  [More Information Needed]
116
 
117
  ## Evaluation
118
 
119
  <!-- This section describes the evaluation protocols and provides the results. -->
120
+ <!--
121
  [More Information Needed]
122
 
123
  ### Testing Data, Factors & Metrics
 
126
 
127
  <!-- This should link to a Dataset Card if possible, otherwise link to the original source with more info.
128
  Provide a basic overview of the test data and documentation related to any data pre-processing or additional filtering. -->
129
+ <!--
130
  [More Information Needed]
131
 
132
  #### Factors
133
 
134
  <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
135
+ <!--
136
  [More Information Needed]
137
 
138
  #### Metrics
139
 
140
  <!-- These are the evaluation metrics being used, ideally with a description of why. -->
141
+ <!--
142
  [More Information Needed]
143
 
144
  ### Results
 
152
  ## Model Examination
153
 
154
  <!-- [optional] Relevant interpretability work for the model goes here -->
155
+ <!--
156
  [More Information Needed]
157
 
158
  ## Environmental Impact
 
161
  It would be great to try to include this.
162
 
163
  Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
164
+ <!--
165
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute)
166
+ presented in [Lacoste et al. (2019)](https://doi.org/10.48550/arXiv.1910.09700).
167
 
168
  - **Hardware Type:** [More Information Needed]
169
  - **Hours used:** [More Information Needed]
 
195
  <!-- If there is a paper introducing the model, the Bibtex information for that should go in this section.
196
 
197
  See notes at top of file about selecting a license.
198
+ If you choose CC0: This model is dedicated to the public domain for the benefit of scientific pursuits.
199
+ We ask that you cite the model and journal paper using the below citations if you make use of it in your research.
200
 
201
  -->
202
 
203
  **BibTeX:**
204
 
 
 
 
205
 
206
  If you use our model in your work, please cite the model and associated paper.
207
 
208
  **Model**
209
  ```
210
+ @software{kabr_x3d_model,
211
+ author = {Maksim Kholiavchenko, Maksim Kukushkin, Otto Brookes, Jenna Kline, Sam Stevens, Isla Duporge, Alec Sheets,
212
+ Reshma R. Babu, Namrata Banerji, Elizabeth Campolongo,
213
+ Matthew Thompson, Nina Van Tiel, Jackson Miliko,
214
+ Eduardo Bessa Mirmehdi, Thomas Schmid,
215
+ Tanya Berger-Wolf, Daniel I. Rubenstein, Tilo Burghardt, Charles V. Stewart},
216
  doi = {<doi once generated>},
217
+ title = {KABR model},
218
+ version = {v0.1},
219
+ year = {2024},
220
+ url = {https://huggingface.co/imageomics/x3d-kabr-kinetics}
221
  }
222
  ```
223
 
 
224
  **Paper**
225
  ```
226
+ @InProceedings{Kholiavchenko_2024_WACV,
227
+ author = {Kholiavchenko, Maksim and Kline, Jenna and Ramirez, Michelle and Stevens, Sam and Sheets, Alec and Babu, Reshma and Banerji, Namrata and Campolongo, Elizabeth and Thompson, Matthew and Van Tiel, Nina and Miliko, Jackson and Bessa, Eduardo and Duporge, Isla and Berger-Wolf, Tanya and Rubenstein, Daniel and Stewart, Charles},
228
+ title = {KABR: In-Situ Dataset for Kenyan Animal Behavior Recognition From Drone Videos},
229
+ booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) Workshops},
230
+ month = {January},
231
+ year = {2024},
232
+ pages = {31-40}
233
  }
234
  ```
235
+ <!-- ADD ONCE PAPER PUBLISHED
236
+ @article{kabr2024,
237
+ title = {Deep Dive into KABR: A Dataset for Understanding Ungulate Behavior from In-Situ Drone Video},
238
+ author = {Maksim Kholiavchenko, Jenna Kline, Maksim Kukushkin, Otto Brookes, Sam Stevens, Isla Duporge, Alec Sheets,
239
+ Reshma R. Babu, Namrata Banerji, Elizabeth Campolongo,
240
+ Matthew Thompson, Nina Van Tiel, Jackson Miliko,
241
+ Eduardo Bessa Mirmehdi, Thomas Schmid,
242
+ Tanya Berger-Wolf, Daniel I. Rubenstein, Tilo Burghardt, Charles V. Stewart},
243
+ journal = {},
244
+ year = 2024,
245
+ url = {},
246
+ doi = {<DOI>}
247
+ }
248
+
249
 
250
 
251
  ## Acknowledgements
252
 
253
+ This work was supported by the [Imageomics Institute](https://imageomics.org),
254
+ which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under
255
+ [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240)
256
+ (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning).
257
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s)
258
+ and do not necessarily reflect the views of the National Science Foundation.
259
 
260
+ <!--
261
  ## Glossary
262
 
263
  <!-- [optional] If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
264
+ <!--
265
  ## More Information
266
 
267
  <!-- [optional] Any other relevant information that doesn't fit elsewhere. -->
268
 
269
+
270
  ## Model Card Authors
271
 
272
+ [Jenna Kline and Maksim Kholiavchenko]
273
 
274
  ## Model Card Contact
275
 
276
+ Maksim Kholiavchenko
277
  <!-- Could include who to contact with questions, but this is also what the "Discussions" tab is for. -->