change model path
This commit is contained in:
parent
5b60cbd4e7
commit
314653785d
@ -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)"]
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user