factoring out convnet as separate entity