orhankislal commented on a change in pull request #491: DL: Fix disk issue by
using truncate guc
URL: https://github.com/apache/madlib/pull/491#discussion_r396829826
##########
File path:
src/ports/postgres/modules/deep_learning/madlib_keras_fit_multiple_model.py_in
##########
@@ -185,13 +226,16 @@ class FitMultipleModel():
mst_row = [self.grand_schedule[dist_key][mst_idx]
for dist_key in self.dist_keys]
self.create_mst_schedule_table(mst_row)
+ self.is_final_training_call = (iter == self.num_iterations and
mst_idx == total_msts-1)
if mst_idx == 0:
start_iteration = time.time()
- self.run_training()
+ self.run_training(mst_idx)
Review comment:
Same question as to the function definition. Is `mst_idx` being used during
`run_training`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services