Skip to content

Commit

Permalink
avoid storing GP training set in map class
Browse files Browse the repository at this point in the history
  • Loading branch information
Lixin Sun committed Nov 19, 2019
1 parent 0febc3c commit c755bec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flare/mgp/mgp.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ def __init__(self, hyps, cutoffs, grid_params: dict, struc_params: dict,
ori_hyps = hyps
self.hyps = ori_hyps

self.GP = GP
self.GP = GaussianProcess(GP.kernel,GP.kernel_grad, GP.hyps,
GP.cutoffs, GP.hyp_labels,
GP.energy_force_kernel,
GP.energy_kernel,
GP.multihyps, GP.hyps_mask)

self.verbose = verbose
self.ncpus = ncpus
Expand Down

0 comments on commit c755bec

Please sign in to comment.