Skip to content

Instantly share code, notes, and snippets.

@jessefreeman
Created March 7, 2019 14:24
Show Gist options
  • Save jessefreeman/d77e8973a5c5ddcc00bad627ad0f3088 to your computer and use it in GitHub Desktop.
Save jessefreeman/d77e8973a5c5ddcc00bad627ad0f3088 to your computer and use it in GitHub Desktop.
Medium Test

052, 067, 071, 098, 100

Example configuration:

python main.py --epochs 2000 --subdir 001

First, let’s import some python libraries we will need further ahead:

# Parsing parameters and paths
import argparse
# Vector and matrix operations
import numpy as np
# Computer vision library for image manipulation and management
import cv2
# Operating system package
import os
# Deep learning package with Tensorflow backend
import keras
# Learning rate Scheduler 
from keras.callbacks import LearningRateScheduler
# The Keras Functional Model API for complex neural network models
from keras.models import Model
# 2D CNN and Input layers
from keras.layers import Conv2D, Input
# Self Similarity Image Metric 
from skimage.measure import compare_ssim as ssim
# Peak Signal to Noise Ratio metric
from skimage.measure import compare_psnr
# MissingLink - A platform for deep learning workflow automation
import missinglink

# MissingLink - A platform for deep learning workflow automation. Enable fast and efficient development of complex deep learning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment