d750d66fb998a44316000908f213ae73c53de97f,examples/shrec17/dataset.py,CacheNPY,__call__,#CacheNPY#,194
Before Change
try:
img = self.transform(file_path)
except:
print(file_path)
raise
np.save(npy_path.format(exists.index(False)), img)
return img
After Change
img = np.load(npy_path.format(i))
except (OSError, FileNotFoundError):
img = self.check_trans(file_path)
np.save(npy_path.format(i), img)
output.append(img)
return output
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: jonas-koehler/s2cnn
Commit Name: d750d66fb998a44316000908f213ae73c53de97f
Time: 2018-03-03
Author: geiger.mario@gmail.com
File Name: examples/shrec17/dataset.py
Class Name: CacheNPY
Method Name: __call__
Project Name: akkana/scripts
Commit Name: 4434c53430503f766743714596707e1e44d64145
Time: 2017-12-16
Author: akkana@shallowsky.com
File Name: analemma.py
Class Name: AnalemmaWindow
Method Name: key_press
Project Name: abhiskk/fast-neural-style
Commit Name: 3b825a18923f298067ac8ece781d01e83ab84016
Time: 2017-04-03
Author: abhishekkadiyan@gmail.com
File Name: neural_style/neural_style.py
Class Name:
Method Name: train