Skip to content

Commit

Permalink
update filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Nov 16, 2024
1 parent 518e207 commit 5f0fbbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/rvspecfit/nn/train_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def main(args):

torch.save(myint.state_dict(), finalfile_path)
pred = get_predictions(myint, Tvecs0, train_dev, batch)
cur_name = f'{directory}/pred_{setup}.psav'
cur_name = f'{directory}/pred_{setup}.h5'
DD = {}
DD['pred'] = pred,
DD['vecs'] = vecs
Expand All @@ -301,7 +301,7 @@ def main(args):
import rvspecfit.nn.RVSInterpolator # noqa
mapper_module = 'rvspecfit.nn.NNInterpolator'
mapper_class_name = 'Mapper'
ofname = f'{directory}/interp_{setup}.pkl'
ofname = f'{directory}/interp_{setup}.h5'
D = {
'mapper_module': mapper_module,
'mapper_class_name': mapper_class_name,
Expand Down

0 comments on commit 5f0fbbb

Please sign in to comment.