mirror of
https://github.com/newnius/YAO-optimizer.git
synced 2025-06-06 22:51:55 +00:00
add files
This commit is contained in:
parent
8cd363c933
commit
d3d244f600
1
serve.py
1
serve.py
@ -194,6 +194,7 @@ class MyHandler(BaseHTTPRequestHandler):
|
||||
test_X, test_Y = np.array([[job, gpu_model, time],[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)
|
||||
draw(config, data_gainer, pred_result)
|
||||
msg = {'code': 1, 'error': "container not exist"}
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user