Skip to content

Commit

Permalink
Fixing issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ctszkin committed Nov 3, 2018
1 parent 9e22514 commit 30e6821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
2 changes: 1 addition & 1 deletion PCI-China/src/pci_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def run_pci_model(year_target, qt_target, i, gpu, model, root="../", T=0.01, dis
best_hyper_pars.perf = my_model.summary()
best_hyper_pars.save(curr_folder, 'best_pars.pkl')
best_hyper_pars.save(curr_folder, 'prev_pars.pkl')
new_hyper_pars.save(history_folder)
best_hyper_pars.save(history_folder)

if i == 1 :
best_hyper_pars = hyper_parameters.load(curr_folder + 'best_pars.pkl')
Expand Down

0 comments on commit 30e6821

Please sign in to comment.