CNN Project Cat_Dog.ipynb - Colab
CNN Project Cat_Dog.ipynb - Colab
CNN Project Cat_Dog.ipynb - Colab
ipynb - Colab
1 import tensorflow as tf
2 from tensorflow.keras.models import Sequential
3 from tensorflow.keras.layers import Conv2D, MaxPooling2D, Flatten, Dense, Dropout
4 from tensorflow.keras.preprocessing.image import ImageDataGenerator
5 from tensorflow.keras.callbacks import ModelCheckpoint
6
7 # Ensure TensorFlow uses a GPU if available
8 print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU')))
9
https://colab.research.google.com/drive/1_zHYIMJQTErgo_YxcM_xyTZw6voZENs5#printMode=true 1/1