open-solution-mapping-challenge
open-solution-mapping-challenge copied to clipboard
Cast target masks to int at creation and refactor loader
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.