Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created August 20, 2019 16:21
Show Gist options
  • Save dipanjanS/b3c845d4d58b54221b343876206fe02c to your computer and use it in GitHub Desktop.
Save dipanjanS/b3c845d4d58b54221b343876206fe02c to your computer and use it in GitHub Desktop.
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