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
name: Unittests | |
on: | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- "*.md" | |
jobs: | |
check-syntax-lints-type: |
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 glob import glob | |
from pathlib import Path | |
import numpy as np | |
import tensorflow as tf | |
from matplotlib import gridspec | |
from matplotlib import pyplot as plt | |
from PIL import Image | |
# SceneParsing is already downloaded in data/raw/ade20k/ |
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 tensorflow as tf | |
from IPython.display import clear_output | |
import IPython.display as display | |
from glob import glob | |
import matplotlib.pyplot as plt | |
# the dataset is downloaded in data/raw/ade20k/ | |
IMG_SIZE = 224 | |
# similar to glob but with tensorflow |