Training Domain Adaptation Algorithm for Activity Recognition task

Hi,
I am trying to implement domain adaptation for activity recognition in PyTorch. For this task, I am using PAMAP2 & Opportunity data set. I loaded the both datasets in PyTorch by reading “h5py” files. In domain adaptation we need both data set during training process.
I do not understand how I can use both datasets at the same time in PyTorch during training…

Regards