Upload 2 files
Browse files- assets/i18n.json +60 -0
- assets/styles.css +41 -0
assets/i18n.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"EN": {
|
| 3 |
+
"app_title": "Torchvision Transforms Playground",
|
| 4 |
+
"app_subtitles": [
|
| 5 |
+
"Explore transformations with [torchvision](https://docs.pytorch.org/vision/stable/transforms) and generate a ready-to-use pipeline. This interactive sandbox helps you clearly see the actual effect of transformations (e.g. filters) on your images, and fine-tune your settings before integrating them into the computer vision model training (e.g. data augmentation)."
|
| 6 |
+
],
|
| 7 |
+
"language_label": "Language",
|
| 8 |
+
"subtitle_label": "Description",
|
| 9 |
+
"disable_all": "Disable all transforms",
|
| 10 |
+
"globals_title": "Global settings",
|
| 11 |
+
"variants_label": "MIX variants per image",
|
| 12 |
+
"seed_label": "Seed",
|
| 13 |
+
"reseed_label": "Re-seed each variant (reproducible)",
|
| 14 |
+
"status_label": "Active sections",
|
| 15 |
+
"code_label": "Torchvision Compose code (live)",
|
| 16 |
+
"upload_section": "1) Upload images",
|
| 17 |
+
"upload_label": "Upload (multi-images)",
|
| 18 |
+
"apply": "Generate (1 example / transform + FINAL MIX)",
|
| 19 |
+
"results_section": "2) Results",
|
| 20 |
+
"results_label": "Results",
|
| 21 |
+
"sidebar_title": "Controls",
|
| 22 |
+
"docs_prefix": "Docs:",
|
| 23 |
+
"sections": {
|
| 24 |
+
"geometric": "Geometric",
|
| 25 |
+
"photometric": "Photometric",
|
| 26 |
+
"policies": "Auto-Augmentation policies",
|
| 27 |
+
"random_applied": "Randomly-applied",
|
| 28 |
+
"tensor_bonus": "Miscellaneous, Bonus"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"FR": {
|
| 32 |
+
"app_title": "Torchvision Transforms Playground",
|
| 33 |
+
"app_subtitles": [
|
| 34 |
+
"Explorer les transformations avec [torchvision](https://docs.pytorch.org/vision/stable/transforms) et générer une pipeline prête à l’emploi.\n Ce bac à sable vous aide à voir concrètement l’effet des transformations (ex. filtres) sur vos images, et à ajuster vos réglages avant de les intégrer à l’entraînement d’un modèle de vision par ordinateur (ex. augmentation de données)."
|
| 35 |
+
],
|
| 36 |
+
"language_label": "Langue",
|
| 37 |
+
"subtitle_label": "Description",
|
| 38 |
+
"disable_all": "Tout désactiver",
|
| 39 |
+
"globals_title": "Paramètres généraux",
|
| 40 |
+
"variants_label": "Variantes (MIX) par image",
|
| 41 |
+
"seed_label": "Seed",
|
| 42 |
+
"reseed_label": "Re-seed à chaque variante (reproductible)",
|
| 43 |
+
"status_label": "Sections actives",
|
| 44 |
+
"code_label": "Code torchvision Compose (live)",
|
| 45 |
+
"upload_section": "1) Déposer des images",
|
| 46 |
+
"upload_label": "Upload (multi-images)",
|
| 47 |
+
"apply": "Générer (1 exemple / transformation + MIX FINAL)",
|
| 48 |
+
"results_section": "2) Résultats",
|
| 49 |
+
"results_label": "Résultats",
|
| 50 |
+
"sidebar_title": "Contrôles",
|
| 51 |
+
"docs_prefix": "Doc :",
|
| 52 |
+
"sections": {
|
| 53 |
+
"geometric": "Géométriques",
|
| 54 |
+
"photometric": "Photométriques",
|
| 55 |
+
"policies": "Politiques d'auto-augmentation",
|
| 56 |
+
"random_applied": "Transformations appliquées aléatoirement",
|
| 57 |
+
"tensor_bonus": "Divers, Bonus"
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
}
|
assets/styles.css
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
/* Sidebar: left scrollbar*/
|
| 4 |
+
#controls_sidebar { direction: rtl; }
|
| 5 |
+
#controls_sidebar .gr-accordion,
|
| 6 |
+
#controls_sidebar .gr-markdown,
|
| 7 |
+
#controls_sidebar .gr-form,
|
| 8 |
+
#controls_sidebar .gr-box,
|
| 9 |
+
#controls_sidebar .gr-panel,
|
| 10 |
+
#controls_sidebar .gr-group,
|
| 11 |
+
#controls_sidebar .gr-row,
|
| 12 |
+
#controls_sidebar .gr-column,
|
| 13 |
+
#controls_sidebar .gr-block,
|
| 14 |
+
#controls_sidebar .gr-input,
|
| 15 |
+
#controls_sidebar .gr-button,
|
| 16 |
+
#controls_sidebar .gr-code,
|
| 17 |
+
#controls_sidebar .gr-html,
|
| 18 |
+
#controls_sidebar .gr-checkbox,
|
| 19 |
+
#controls_sidebar .gr-slider,
|
| 20 |
+
#controls_sidebar .gr-dropdown,
|
| 21 |
+
#controls_sidebar .gr-radio,
|
| 22 |
+
#controls_sidebar .gr-number,
|
| 23 |
+
#controls_sidebar .gr-textbox { direction: ltr; }
|
| 24 |
+
|
| 25 |
+
/* non-visible scrollbar using Webkit */
|
| 26 |
+
#controls_sidebar ::-webkit-scrollbar { width: 10px; }
|
| 27 |
+
#controls_sidebar ::-webkit-scrollbar-track { background: transparent; }
|
| 28 |
+
#controls_sidebar ::-webkit-scrollbar-thumb {
|
| 29 |
+
background: rgba(100, 116, 139, 0.35);
|
| 30 |
+
border-radius: 999px;
|
| 31 |
+
border: 3px solid transparent;
|
| 32 |
+
background-clip: content-box;
|
| 33 |
+
}
|
| 34 |
+
#controls_sidebar ::-webkit-scrollbar-thumb:hover {
|
| 35 |
+
background: rgba(100, 116, 139, 0.55);
|
| 36 |
+
border: 3px solid transparent;
|
| 37 |
+
background-clip: content-box;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Firefox adapt */
|
| 41 |
+
#controls_sidebar { scrollbar-width: thin; scrollbar-color: rgba(100,116,139,.45) transparent; }
|