Spaces:
Running
Running
tomas-gajarsky
commited on
Commit
·
b0d6c47
1
Parent(s):
5d31c75
Add Action Unit model to gpu config
Browse files- config.merged.gpu.yml +92 -17
config.merged.gpu.yml
CHANGED
@@ -19,7 +19,7 @@ analyzer:
|
|
19 |
downloader:
|
20 |
_target_: facetorch.downloader.DownloaderGDrive
|
21 |
file_id: 154x2VjmTQVqmowB0yZw4Uck7uQs2vVBs
|
22 |
-
path_local: /code/models/torchscript/detector/1/model.pt
|
23 |
device:
|
24 |
_target_: torch.device
|
25 |
type: ${analyzer.device}
|
@@ -102,7 +102,7 @@ analyzer:
|
|
102 |
downloader:
|
103 |
_target_: facetorch.downloader.DownloaderGDrive
|
104 |
file_id: 19h3kqar1wlELAmM5hDyj9tlrUh8yjrCl
|
105 |
-
path_local: /code/models/torchscript/predictor/embed/1/model.pt
|
106 |
device:
|
107 |
_target_: torch.device
|
108 |
type: ${analyzer.device}
|
@@ -142,8 +142,8 @@ analyzer:
|
|
142 |
_target_: facetorch.analyzer.predictor.FacePredictor
|
143 |
downloader:
|
144 |
_target_: facetorch.downloader.DownloaderGDrive
|
145 |
-
file_id:
|
146 |
-
path_local: /code/models/torchscript/predictor/verify/
|
147 |
device:
|
148 |
_target_: torch.device
|
149 |
type: ${analyzer.device}
|
@@ -158,18 +158,18 @@ analyzer:
|
|
158 |
- 112
|
159 |
- _target_: torchvision.transforms.Normalize
|
160 |
mean:
|
161 |
-
- 0.
|
162 |
-
- 0.
|
163 |
-
- 0.
|
164 |
std:
|
165 |
-
- 0.
|
166 |
-
- 0.
|
167 |
-
- 0.
|
168 |
device:
|
169 |
_target_: torch.device
|
170 |
type: ${analyzer.predictor.verify.device.type}
|
171 |
optimize_transform: ${analyzer.optimize_transforms}
|
172 |
-
reverse_colors:
|
173 |
postprocessor:
|
174 |
_target_: facetorch.analyzer.predictor.post.PostEmbedder
|
175 |
transform: None
|
@@ -184,7 +184,7 @@ analyzer:
|
|
184 |
downloader:
|
185 |
_target_: facetorch.downloader.DownloaderGDrive
|
186 |
file_id: 1xoB5VYOd0XLjb-rQqqHWCkQvma4NytEd
|
187 |
-
path_local: /code/models/torchscript/predictor/fer/2/model.pt
|
188 |
device:
|
189 |
_target_: torch.device
|
190 |
type: ${analyzer.device}
|
@@ -228,12 +228,87 @@ analyzer:
|
|
228 |
- Neutral
|
229 |
- Sadness
|
230 |
- Surprise
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
deepfake:
|
232 |
_target_: facetorch.analyzer.predictor.FacePredictor
|
233 |
downloader:
|
234 |
_target_: facetorch.downloader.DownloaderGDrive
|
235 |
file_id: 1GjDTwQpvrkCjXOdiBy1oMkzm7nt-bXFg
|
236 |
-
path_local: /code/models/torchscript/predictor/deepfake/1/model.pt
|
237 |
device:
|
238 |
_target_: torch.device
|
239 |
type: ${analyzer.device}
|
@@ -276,7 +351,7 @@ analyzer:
|
|
276 |
downloader:
|
277 |
_target_: facetorch.downloader.DownloaderGDrive
|
278 |
file_id: 16gNFQdEH2nWvW3zTbdIAniKIbPAp6qBA
|
279 |
-
path_local: /code/models/torchscript/predictor/align/1/model.pt
|
280 |
device:
|
281 |
_target_: torch.device
|
282 |
type: ${analyzer.device}
|
@@ -314,7 +389,7 @@ analyzer:
|
|
314 |
downloader_meta:
|
315 |
_target_: facetorch.downloader.DownloaderGDrive
|
316 |
file_id: 11tdAcFuSXqCCf58g52WT1Rpa8KuQwe2o
|
317 |
-
path_local: /code/data/3dmm/meta.pt
|
318 |
image_size: 120
|
319 |
draw_boxes:
|
320 |
_target_: facetorch.analyzer.utilizer.draw.BoxDrawer
|
@@ -337,8 +412,8 @@ analyzer:
|
|
337 |
logger:
|
338 |
_target_: facetorch.logger.LoggerJsonFile
|
339 |
name: facetorch
|
340 |
-
level:
|
341 |
-
path_file: /code/logs/facetorch/main.log
|
342 |
json_format: '%(asctime)s %(levelname)s %(message)s'
|
343 |
main:
|
344 |
sleep: 3
|
|
|
19 |
downloader:
|
20 |
_target_: facetorch.downloader.DownloaderGDrive
|
21 |
file_id: 154x2VjmTQVqmowB0yZw4Uck7uQs2vVBs
|
22 |
+
path_local: /home/user/code/models/torchscript/detector/1/model.pt
|
23 |
device:
|
24 |
_target_: torch.device
|
25 |
type: ${analyzer.device}
|
|
|
102 |
downloader:
|
103 |
_target_: facetorch.downloader.DownloaderGDrive
|
104 |
file_id: 19h3kqar1wlELAmM5hDyj9tlrUh8yjrCl
|
105 |
+
path_local: /home/user/code/models/torchscript/predictor/embed/1/model.pt
|
106 |
device:
|
107 |
_target_: torch.device
|
108 |
type: ${analyzer.device}
|
|
|
142 |
_target_: facetorch.analyzer.predictor.FacePredictor
|
143 |
downloader:
|
144 |
_target_: facetorch.downloader.DownloaderGDrive
|
145 |
+
file_id: 1H-aPtFd9C5D7y1vzoWsObKAxeIBE9QPd
|
146 |
+
path_local: /home/user/code/models/torchscript/predictor/verify/1/model.pt
|
147 |
device:
|
148 |
_target_: torch.device
|
149 |
type: ${analyzer.device}
|
|
|
158 |
- 112
|
159 |
- _target_: torchvision.transforms.Normalize
|
160 |
mean:
|
161 |
+
- 0.485
|
162 |
+
- 0.456
|
163 |
+
- 0.406
|
164 |
std:
|
165 |
+
- 0.229
|
166 |
+
- 0.224
|
167 |
+
- 0.225
|
168 |
device:
|
169 |
_target_: torch.device
|
170 |
type: ${analyzer.predictor.verify.device.type}
|
171 |
optimize_transform: ${analyzer.optimize_transforms}
|
172 |
+
reverse_colors: false
|
173 |
postprocessor:
|
174 |
_target_: facetorch.analyzer.predictor.post.PostEmbedder
|
175 |
transform: None
|
|
|
184 |
downloader:
|
185 |
_target_: facetorch.downloader.DownloaderGDrive
|
186 |
file_id: 1xoB5VYOd0XLjb-rQqqHWCkQvma4NytEd
|
187 |
+
path_local: /home/user/code/models/torchscript/predictor/fer/2/model.pt
|
188 |
device:
|
189 |
_target_: torch.device
|
190 |
type: ${analyzer.device}
|
|
|
228 |
- Neutral
|
229 |
- Sadness
|
230 |
- Surprise
|
231 |
+
au:
|
232 |
+
_target_: facetorch.analyzer.predictor.FacePredictor
|
233 |
+
downloader:
|
234 |
+
_target_: facetorch.downloader.DownloaderGDrive
|
235 |
+
file_id: 1uoVX9suSA5JVWTms3hEtJKzwO-CUR_jV
|
236 |
+
path_local: /home/user/opt/facetorch/models/torchscript/predictor/au/1/model.pt # str
|
237 |
+
device:
|
238 |
+
_target_: torch.device
|
239 |
+
type: ${analyzer.device} # str
|
240 |
+
preprocessor:
|
241 |
+
_target_: facetorch.analyzer.predictor.pre.PredictorPreProcessor
|
242 |
+
transform:
|
243 |
+
_target_: torchvision.transforms.Compose
|
244 |
+
transforms:
|
245 |
+
- _target_: torchvision.transforms.Resize
|
246 |
+
size: [224, 224] # List[int]
|
247 |
+
- _target_: torchvision.transforms.Normalize
|
248 |
+
mean: [0.485, 0.456, 0.406] # List[float]
|
249 |
+
std: [0.229, 0.224, 0.225] # List[float]
|
250 |
+
device:
|
251 |
+
_target_: torch.device
|
252 |
+
type: ${analyzer.predictor.au.device.type}
|
253 |
+
optimize_transform: ${analyzer.optimize_transforms}
|
254 |
+
reverse_colors: False # bool
|
255 |
+
postprocessor:
|
256 |
+
_target_: facetorch.analyzer.predictor.post.PostMultiLabel
|
257 |
+
transform: None
|
258 |
+
device:
|
259 |
+
_target_: torch.device
|
260 |
+
type: ${analyzer.predictor.au.device.type}
|
261 |
+
optimize_transform: ${analyzer.optimize_transforms}
|
262 |
+
dim: 1
|
263 |
+
threshold: 0.5
|
264 |
+
labels:
|
265 |
+
- inner_brow_raiser
|
266 |
+
- outer_brow_raiser
|
267 |
+
- brow_lowerer
|
268 |
+
- upper_lid_raiser
|
269 |
+
- cheek_raiser
|
270 |
+
- lid_tightener
|
271 |
+
- nose_wrinkler
|
272 |
+
- upper_lip_raiser
|
273 |
+
- nasolabial_deepener
|
274 |
+
- lip_corner_puller
|
275 |
+
- sharp_lip_puller
|
276 |
+
- dimpler
|
277 |
+
- lip_corner_depressor
|
278 |
+
- lower_lip_depressor
|
279 |
+
- chin_raiser
|
280 |
+
- lip_pucker
|
281 |
+
- tongue_show
|
282 |
+
- lip_stretcher
|
283 |
+
- lip_funneler
|
284 |
+
- lip_tightener
|
285 |
+
- lip_pressor
|
286 |
+
- lips_part
|
287 |
+
- jaw_drop
|
288 |
+
- mouth_stretch
|
289 |
+
- lip_bite
|
290 |
+
- nostril_dilator
|
291 |
+
- nostril_compressor
|
292 |
+
- left_inner_brow_raiser
|
293 |
+
- right_inner_brow_raiser
|
294 |
+
- left_outer_brow_raiser
|
295 |
+
- right_outer_brow_raiser
|
296 |
+
- left_brow_lowerer
|
297 |
+
- right_brow_lowerer
|
298 |
+
- left_cheek_raiser
|
299 |
+
- right_cheek_raiser
|
300 |
+
- left_upper_lip_raiser
|
301 |
+
- right_upper_lip_raiser
|
302 |
+
- left_nasolabial_deepener
|
303 |
+
- right_nasolabial_deepener
|
304 |
+
- left_dimpler
|
305 |
+
- right_dimpler
|
306 |
deepfake:
|
307 |
_target_: facetorch.analyzer.predictor.FacePredictor
|
308 |
downloader:
|
309 |
_target_: facetorch.downloader.DownloaderGDrive
|
310 |
file_id: 1GjDTwQpvrkCjXOdiBy1oMkzm7nt-bXFg
|
311 |
+
path_local: /home/user/code/models/torchscript/predictor/deepfake/1/model.pt
|
312 |
device:
|
313 |
_target_: torch.device
|
314 |
type: ${analyzer.device}
|
|
|
351 |
downloader:
|
352 |
_target_: facetorch.downloader.DownloaderGDrive
|
353 |
file_id: 16gNFQdEH2nWvW3zTbdIAniKIbPAp6qBA
|
354 |
+
path_local: /home/user/code/models/torchscript/predictor/align/1/model.pt
|
355 |
device:
|
356 |
_target_: torch.device
|
357 |
type: ${analyzer.device}
|
|
|
389 |
downloader_meta:
|
390 |
_target_: facetorch.downloader.DownloaderGDrive
|
391 |
file_id: 11tdAcFuSXqCCf58g52WT1Rpa8KuQwe2o
|
392 |
+
path_local: /home/user/code/data/3dmm/meta.pt
|
393 |
image_size: 120
|
394 |
draw_boxes:
|
395 |
_target_: facetorch.analyzer.utilizer.draw.BoxDrawer
|
|
|
412 |
logger:
|
413 |
_target_: facetorch.logger.LoggerJsonFile
|
414 |
name: facetorch
|
415 |
+
level: 10
|
416 |
+
path_file: /home/user/code/logs/facetorch/main.log
|
417 |
json_format: '%(asctime)s %(levelname)s %(message)s'
|
418 |
main:
|
419 |
sleep: 3
|