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
from enum import IntEnum | |
from pathlib import Path | |
import cv2 | |
import numpy as np | |
from utils.cv2_utils import * | |
from utils.DFLJPG import DFLJPG | |
from utils.DFLPNG import DFLPNG |
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
from enum import IntEnum | |
from pathlib import Path | |
import cv2 | |
import numpy as np | |
from utils.cv2_utils import * | |
from utils.DFLJPG import DFLJPG | |
from utils.DFLPNG import DFLPNG |
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
# NOTE: nvidia-docker must be enabled on the Docker host | |
FROM nvidia/cuda:9.0-base-ubuntu16.04 | |
ENV LANG C.UTF-8 | |
# adapted from the official tensorflow docker builds [https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile] | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
build-essential \ | |
cuda-command-line-tools-9-0 \ | |
cuda-cublas-9-0 \ |