text_plain_output_2.png text_plain_output_1.png
import numpy as np

img_label = np.load('/content/drive/MyDrive/HMD_project/new/embedding_train_img_norm.npy')
txt_input = np.load('/content/drive/MyDrive/HMD_project/new/lsa_bow_train_text.npy')
img = img_label[:, 0:-1]
label = img_label[:, -1]
txt = txt_input
img_txt = np.concatenate((img, txt), axis=1)
x = img_txt
y = label
print(x.shape)
y.shape