Created
August 20, 2019 16:21
-
-
Save dipanjanS/b3c845d4d58b54221b343876206fe02c to your computer and use it in GitHub Desktop.
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 os | |
import math | |
import numpy as np | |
import json | |
from tensorflow import keras | |
from tensorflow.keras.metrics import categorical_accuracy | |
import tensorflow as tf | |
os.environ['TF_ENABLE_AUTO_MIXED_PRECISION'] = '1' | |
os.environ['TF_CPP_MIN_LOG_LEVEL']='2' | |
BASE_DIR = './data' | |
TRAIN_DIR = os.path.join(BASE_DIR, 'train') | |
VAL_DIR = os.path.join(BASE_DIR, 'valid') | |
TEST_DIR = os.path.join(BASE_DIR, 'test') | |
print(TRAIN_DIR) | |
print(VAL_DIR) | |
print(TEST_DIR) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment