Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use conda environment yaml's for training-tuning-scripts #1256

Merged
Prev Previous commit
Next Next commit
autoencoder updates in dfp script/notebook
  • Loading branch information
efajardo-nv committed Oct 13, 2023
commit c7802496d67a6635f05937528f8ba1f2dd65cd3a
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def main():
min_cats=1 # cut off for minority categories
)

model.fit(x_train, epochs=25, validation_data=x_val)
model.fit(x_train, epochs=25, validation_data=x_val, run_validation=True)

torch.save(model.state_dict(), args.trainingdata[:-4] + ".pkl")
with open(args.trainingdata[:-4] + 'dill' + '.pkl', 'wb') as f:
Expand Down
Loading