improvements to deep net decoder