Last active
June 12, 2020 08:24
-
-
Save trongan93/eb3cedd9f6dab1a15d7ee3892cd3f960 to your computer and use it in GitHub Desktop.
CNN Training on Satellite image dataset
This file contains hidden or 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
import json, sys, random | |
import numpy as np | |
import tensorflow as tf | |
import tensorflow.keras | |
from tensorflow.keras.models import Sequential | |
from tensorflow.keras.layers import Dense, Flatten, Activation | |
from tensorflow.keras.layers import Dropout | |
from tensorflow.keras.layers import Conv2D, MaxPooling2D | |
from tensorflow.keras.utils import to_categorical | |
from tensorflow.keras.optimizers import SGD | |
import tensorflow.keras.callbacks | |
from PIL import Image, ImageDraw | |
from matplotlib import pyplot as plt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment