Minor fixes in training routine; removed codecs