Skip to content

Instantly share code, notes, and snippets.

@mwilliammyers
mwilliammyers / tf_eager_regression.py
Created July 3, 2019 05:20
TensorFlow eager execution demo of a simple regression model
import logging
import numpy as np
import tensorflow as tf
logging.getLogger().setLevel(logging.INFO)
train_data = np.load(
"/mnt/pccfs/not_backed_up/data/eve-embeddings-prod/ccc_train.npy")
train_features = train_data.item()["features"]