Commit d2540fea authored by Your Name's avatar Your Name

bug fix

parent e6876cb1
......@@ -5,6 +5,7 @@ import pytispark.pytispark as pti
from pyspark.sql import SparkSession
import datetime
import pandas as pd
from datetime import date, timedelta
import time
from pyspark import StorageLevel
import os
......@@ -142,8 +143,8 @@ def input_fn(filenames, batch_size=32, num_epochs=1, perform_shuffle=False):
return batch_features, batch_labels
def main():
# dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d')
model_dir = "/home/gmuser/esmm/model_ckpt/DeepCvrMTL/"
dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d')
model_dir = "/home/gmuser/esmm/model_ckpt/DeepCvrMTL/" + dt_dir
te_files = ["hdfs://172.16.32.4:8020/strategy/esmm/nearby/part-r-00000"]
model_params = {
"field_size": 15,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment