0b1e339d0b47f6f1c01bbb5307c9ee839894557c,dataset/batch_image.py,ImagesBatch,_load_image,#ImagesBatch#Any#Any#Any#Any#,269
Before Change
if fmt == "image":
for image_format in BaseImagesBatch.formats:
try:
return imread(self._make_path(src, ix+"."+image_format))
except OSError:
pass
raise RuntimeError("Unknown image format")
return imread(self._make_path(src, ix+"."+fmt))
After Change
for image_format in BaseImagesBatch.formats:
imfile = self._make_path(src, ix+"."+image_format)
if os.path.isfile(imfile):
return imread(self._make_path(src, imfile))
raise RuntimeError("Unknown image format")
return imread(self._make_path(src, ix+"."+fmt))
return imread(self._make_path(src, ix))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: analysiscenter/batchflow
Commit Name: 0b1e339d0b47f6f1c01bbb5307c9ee839894557c
Time: 2018-02-08
Author: g.ivanov@analysiscenter.ru
File Name: dataset/batch_image.py
Class Name: ImagesBatch
Method Name: _load_image
Project Name: ClementPinard/FlowNetPytorch
Commit Name: 6c3a117b9b39fd7f993c85091f7a1a0d96d10d08
Time: 2018-01-29
Author: clement.pinard@parrot.com
File Name: datasets/KITTI.py
Class Name:
Method Name: load_flow_from_png
Project Name: analysiscenter/batchflow
Commit Name: 893f9672a1cc62be65e675f1059ae129764eefc4
Time: 2018-02-08
Author: ziliboba753@gmail.com
File Name: dataset/batch_image.py
Class Name: ImagesBatch
Method Name: _load_image