Created
June 28, 2021 17:38
-
-
Save omchaithanyav/5b0406afb484459e18ca5349756c673c to your computer and use it in GitHub Desktop.
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
for features, label in training_data: | |
x_train.append(features) | |
y_train.append(label)' | |
x_train=np.array(x_train).reshape(-1,256,256,3) | |
for features, label in testing_data: | |
x_test.append(features) | |
y_test.append(label) | |
x_test = np.array(x_test).reshape(-1,256,256,3) | |
x=cv2.resize(training_data[0][0],(256,256)) | |
plt.imshow(x,cmap='gray') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment