Skip to content

Commit

Permalink
[ELASTiCC] Use model in h5 format (#338)
Browse files Browse the repository at this point in the history
* new CATS model .h5 version

* New CATS model in version .h5
  • Loading branch information
and-santos authored Sep 11, 2023
1 parent 09060d5 commit e85f634
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 42 deletions.
2 changes: 1 addition & 1 deletion fink_science/cats/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def predict_nn(
if model is None:
# Load pre-trained model
curdir = os.path.dirname(os.path.abspath(__file__))
model_path = curdir + '/data/models/cats_models/model_meta_0'
model_path = curdir + '/data/models/cats_models/model_fold0.h5'
else:
model_path = model.values[0]

Expand Down
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit e85f634

Please sign in to comment.