Update self.data_specs when calling convert_to_one_hot
Merge pull request #444 from lamblin/update_data_specs

Update self.data_specs when calling convert_to_one_hot