TypeError: expected Tensor as element 1 in argument 0, but got int

I am facing an error on concatenating two different datasets my one dataset is from Fall_detection dataset and the other from the UP_FALL dataset. Now I looked on stackoverflow and got something like different datasets having different shapes but I don’t see any problem in combing both of them since both of the datasets have their own CSV files with image names and Activity. Is there any way that this problem can be resolved or we can’t just combine them in any way

Link for Google Colab: Google Colab