From c57d0c24c679884c16863f3849ef264ee2837f1c Mon Sep 17 00:00:00 2001 From: Ian Saucy Date: Sun, 15 Nov 2020 00:29:25 -0500 Subject: [PATCH] Removed unused imports & added pipfile --- 05_prediction/src/predict.py | 3 --- Pipfile | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 Pipfile diff --git a/05_prediction/src/predict.py b/05_prediction/src/predict.py index 711109d..95b0906 100644 --- a/05_prediction/src/predict.py +++ b/05_prediction/src/predict.py @@ -8,12 +8,9 @@ import cv2 import math import re -import os import itertools import enum -import scipy import PIL.Image -import collections import logging from pathlib import Path diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..7ca6671 --- /dev/null +++ b/Pipfile @@ -0,0 +1,20 @@ +[[source]] +name = "pypi" +url = "https://pypi.org/simple" +verify_ssl = true + +[dev-packages] + +[packages] +tensorflow = "==1.15.2" +# Used by tensorflow and due to the following: +# https://github.com/tensorflow/tensorflow/issues/44467 +h5py = "<3.0.0" +opencv-python = ">=4.4" +tqdm = "*" +keras = "~=2.3.1" +segmentation-models = "~=1.0.1" + +[requires] +python_version = "3.7" +