fix github workflow
This commit is contained in:
parent
ae55583129
commit
554ed4e9cd
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: model
|
name: model
|
||||||
path: .
|
path: ./github_project/hp_model.h5
|
||||||
|
|
||||||
- name: Evaluate Model
|
- name: Evaluate Model
|
||||||
run: python ./github_project/evaluate.py ${{ github.run_number }}
|
run: python ./github_project/evaluate.py ${{ github.run_number }}
|
||||||
|
@ -17,7 +17,7 @@ else:
|
|||||||
hp_test = pd.read_csv('./github_project/hp_test.csv')
|
hp_test = pd.read_csv('./github_project/hp_test.csv')
|
||||||
X_test, Y_test = prepare_tensors(hp_test)
|
X_test, Y_test = prepare_tensors(hp_test)
|
||||||
|
|
||||||
model = load_model('./github_project/hp_model.h5')
|
model = load_model('/home/runner/work/ium/ium/github_project/hp_model.h5')
|
||||||
|
|
||||||
test_predictions = model.predict(X_test)
|
test_predictions = model.predict(X_test)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user