This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("clothing shape: ", clothing_data.shape) | |
print("electronics shape: ", electronics_data.shape) | |
print("home appliances shape: ", home_appliances_data.shape) | |
data = np.vstack((clothing_data, electronics_data, home_appliances_data)) | |
category = pd.concat([clothing['category'], cameras['category'], home_appliances['category']]).values | |
category = to_categorical(category) | |
print("-"*10) | |
print("combined data shape: ", data.shape) | |
print("combined category/label shape: ", category.shape) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment