fix `ValueError: x and y must have same first dimension` problem after stopping and re-starting training.
fix `ValueError: x and y must have same first dimension` problem after
stopping and re-starting training.

mmottahedi/neuralnilm_prototype,JackKelly/neuralnilm_prototype