added type cast to relabel_from_one to prevent gala-segment errors
added timing info to gala-train log