6a8153f8a520aaa1546a474cc854989a2f308596,dataset/batch_image.py,ImagesBatch,_dump_image,#ImagesBatch#Any#Any#Any#Any#,305
Before Change
if ix.rfind(".") == -1:
if fmt == "image":
raise RuntimeError("Unknown image format")
return imsave(self._make_path(src, ix, fmt))
return imsave(self._make_path(src, ix))
def _assemble_component(self, result, *args, component="images", **kwargs):
After Change
if dst is None:
raise RuntimeError("You must specify `dst`")
ix = str(ix) + "." + fmt if fmt is not None else str(ix)
imsave(os.path.join(dst, ix))
def _assemble_component(self, result, *args, component="images", **kwargs):
Assemble one component after parallel execution.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: analysiscenter/batchflow
Commit Name: 6a8153f8a520aaa1546a474cc854989a2f308596
Time: 2018-02-12
Author: g.ivanov@analysiscenter.ru
File Name: dataset/batch_image.py
Class Name: ImagesBatch
Method Name: _dump_image
Project Name: analysiscenter/batchflow
Commit Name: 97e028e5febc19142895daa41538f31645afc422
Time: 2018-02-12
Author: g.ivanov@analysiscenter.ru
File Name: dataset/batch_image.py
Class Name: ImagesBatch
Method Name: _dump_image
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: c8c65e8a0cb18e77c687354b3a90e817bf6953e5
Time: 2017-06-21
Author: valentina.zantedeschi@ibm.com
File Name: generate_from_imagenet.py
Class Name:
Method Name: