fixed configuration change happening mid training with RBMs