open-solution-mapping-challenge icon indicating copy to clipboard operation
open-solution-mapping-challenge copied to clipboard

Cast target masks to int at creation and refactor loader

Open jakubczakon opened this issue 7 years ago • 0 comments

Distance loader does

Di = self.load_joblib(distance_filepath)
Di = Di.astype(np.uint8)
Si = self.load_joblib(size_filepath).astype(np.uint16)
Si = np.sqrt(Si).astype(np.uint16)

This should have been done at creation of Di and Si not here i believe.

jakubczakon avatar May 25 '18 10:05 jakubczakon