change model path
All checks were successful
s444417-training/pipeline/head This commit looks good
s444417-evaluation/pipeline/head This commit looks good

This commit is contained in:
s444417 2022-05-04 16:53:39 +02:00
parent 5b60cbd4e7
commit 314653785d
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import pandas as pd
import tensorflow as tf import tensorflow as tf
cwd = os.path.abspath(os.path.dirname(sys.argv[0])) cwd = os.path.abspath(os.path.dirname(sys.argv[0]))
modelPath = 'saved_model/MyModel_tf' modelPath = 'MyModel_tf'
pathTest = cwd + "/../Participants_Data_HPP/Test.csv" pathTest = cwd + "/../Participants_Data_HPP/Test.csv"
features = ["UNDER_CONSTRUCTION", "RERA", "BHK_NO.", "SQUARE_FT", "READY_TO_MOVE", "RESALE", "LONGITUDE", "LATITUDE", "TARGET(PRICE_IN_LACS)"] features = ["UNDER_CONSTRUCTION", "RERA", "BHK_NO.", "SQUARE_FT", "READY_TO_MOVE", "RESALE", "LONGITUDE", "LATITUDE", "TARGET(PRICE_IN_LACS)"]

View File

@ -62,7 +62,7 @@ house_price_features = np.array(house_price_features)
# model keras.Sequential # model keras.Sequential
# one output tensor # one output tensor
modelPath = 'MyModel_tf' modelPath = 'saved_model/MyModel_tf'
try: try:
linear_model = tf.keras.models.load_model(modelPath) linear_model = tf.keras.models.load_model(modelPath)
print("open existing model") print("open existing model")