|
|
@@ -6,7 +6,7 @@ from eas_prediction import TFRequest
|
|
|
shape = 5
|
|
|
if __name__ == '__main__':
|
|
|
fg_config = {}
|
|
|
- with open("/Users/zhao/Downloads/feature_list_20260417.json", "r") as f:
|
|
|
+ with open("/Users/zhao/Downloads/feature_list_20260424.json", "r") as f:
|
|
|
fg_config = json.load(f)
|
|
|
|
|
|
req = TFRequest('serving_default')
|
|
|
@@ -19,7 +19,7 @@ if __name__ == '__main__':
|
|
|
else:
|
|
|
req.add_feed(feature_name, [shape], TFRequest.DT_STRING, [b"-1024"] * shape)
|
|
|
|
|
|
- req.add_fetch('probs_is_share')
|
|
|
+ req.add_fetch('probs_pLeave')
|
|
|
|
|
|
- with open("/Users/zhao/Desktop/warm_up_20260417.bin", "wb") as fw:
|
|
|
+ with open("/Users/zhao/Desktop/warm_up_20260424.bin", "wb") as fw:
|
|
|
fw.write(req.to_string())
|