Skip to content

Commit

Permalink
avoid model comp
Browse files Browse the repository at this point in the history
  • Loading branch information
epnev committed Aug 21, 2019
1 parent ee6de84 commit db61bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caiman/components_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def evaluate_components_CNN(A, dims, gSig, model_name:str=os.path.join(caiman_da

loaded_model = model_from_json(loaded_model_json)
loaded_model.load_weights(model_name + '.h5')
loaded_model.compile('sgd', 'mse')
#loaded_model.compile('sgd', 'mse')
else:
if os.path.isfile(os.path.join(caiman_datadir(), model_name + ".h5.pb")):
model_file = os.path.join(caiman_datadir(), model_name + ".h5.pb")
Expand Down

0 comments on commit db61bfb

Please sign in to comment.