Updated 4 years ago
!pip install jovian --upgrade --quiet
# TensorFlow and tf.keras
import tensorflow as tf
from tensorflow import keras
# Helper libraries
import numpy as np
import matplotlib.pyplot as plt
print(tf.__version__)
2.3.0
Assignment1 - Basic Computer Vision using Neural Networks
- The dataset is available within keras as dataset.mnist, so make sure to load the data into training and test sets in Colab. (2)
mnist = keras.datasets.mnist
(train_images, train_labels), (test_images, test_labels) = mnist.load_data()
- Print the first image and its label from the training set so you can view what your data looks like. What is the class label of the first image in the training set? (3)