rbm training as well