1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-13 00:16:44 +00:00

add files

This commit is contained in:
2020-04-30 00:59:06 +08:00
parent bd108f03fe
commit 54602b87b8
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ class MyHandler(BaseHTTPRequestHandler):
gpu_model = query.get('gpu_model')[0]
time = query.get('time')[0]
data_gainer = Data(config)
test_X, test_Y = np.array([[job, gpu_model, time, 1,1,1]]) #data_gainer.get_test_data(return_label_data=True)
test_X, test_Y = np.array([[job, gpu_model, time]]), np.array([[1,1,1]]) #data_gainer.get_test_data(return_label_data=True)
print(test_X, test_Y)
pred_result = predict(config, test_X)
print(pred_result)