Develop a machine learning model using convolutional neural networks (CNNs) to classify images as either cats or dogs. Utilize a dataset of labeled cat and dog images for training and testing the model's accuracy in distinguishing between the two popular pet categories