Last active
July 4, 2020 21:01
-
-
Save rohitg00/4e1fedaa9538c6417238fcb3b0123846 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Github gist by Rohit Ghumare to augment and create replicas of images | |
[ | |
{ | |
"dst": "$data", | |
"src": [ | |
"Dataset/*" | |
], | |
"action": "data", | |
"settings": { | |
"classes_mapping": "default" | |
} | |
}, | |
{ | |
"dst": "$flip_vert", | |
"src": [ | |
"$data" | |
], | |
"action": "flip", | |
"settings": { | |
"axis": "vertical" | |
} | |
}, | |
{ | |
"dst": "Dataset_covid", | |
"src": [ | |
"$data", | |
"$resized_result", | |
"$resized_result2", | |
"$noise_result", | |
"$flip_vert" | |
], | |
"action": "supervisely", | |
"settings": {} | |
}, | |
{ | |
"action": "resize", | |
"src": [ | |
"$data" | |
], | |
"dst": "$resized_result", | |
"settings": { | |
"width": 800, | |
"height": -1, | |
"aspect_ratio": { | |
"keep": true | |
} | |
} | |
}, | |
{ | |
"action": "noise", | |
"src": [ | |
"$data" | |
], | |
"dst": "$noise_result", | |
"settings": { | |
"mean": 10, | |
"std": 60 | |
} | |
}, | |
{ | |
"action": "resize", | |
"src": [ | |
"$data" | |
], | |
"dst": "$resized_result2", | |
"settings": { | |
"width": 300, | |
"height": -1, | |
"aspect_ratio": { | |
"keep": true | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment