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:48:07 +08:00
parent b9418c7508
commit 0ea7d55e40
2 changed files with 12 additions and 10 deletions

View File

@@ -192,7 +192,7 @@ class MyHandler(BaseHTTPRequestHandler):
gpu_model = query.get('gpu_model')[0]
time = query.get('time')[0]
data_gainer = Data(config)
test_X, test_Y = data_gainer.get_test_data(return_label_data=True)
test_X, test_Y = np.array([[job, gpu_model, time, 0, 0, 0]]) #data_gainer.get_test_data(return_label_data=True)
pred_result = predict(config, test_X)
draw(config, data_gainer, pred_result)
msg = {'code': 1, 'error': "container not exist"}