pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/bartz-nvidia/DeepLearningExamples/commit/10060de04ea00a6fd3fb6b28bc7a106649e1a41f

="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-12d60eb17c94521c.css" /> [NCF/TF1] Remove metrics that combine both performance and convergence · bartz-nvidia/DeepLearningExamples@10060de · GitHub
Skip to content

Commit 10060de

Browse files
committed
[NCF/TF1] Remove metrics that combine both performance and convergence
1 parent 40eeae7 commit 10060de

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

  • TensorFlow/Recommendation/NCF

TensorFlow/Recommendation/NCF/ncf.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ def main():
181181
dllogger.metadata("best_hr", {"unit": None})
182182
dllogger.metadata("average_eval_time_per_epoch", {"unit": "s"})
183183
dllogger.metadata("average_train_time_per_epoch", {"unit": "s"})
184-
dllogger.metadata("time_to_best", {"unit": "s"})
185-
dllogger.metadata("time_to_train", {"unit": "s"})
186184
dllogger.metadata("average_train_throughput", {"unit": "samples/s"})
187185
dllogger.metadata("average_eval_throughput", {"unit": "samples/s"})
188186

@@ -346,7 +344,6 @@ def main():
346344
eval_times = list()
347345
# Accuracy Metrics
348346
first_to_target = None
349-
time_to_train = 0.0
350347
best_hr = 0
351348
best_epoch = 0
352349
# Buffers for global metrics
@@ -361,7 +358,6 @@ def main():
361358
local_ndcg_count = np.ones(1)
362359

363360
# Begin training
364-
begin_train = time.time()
365361
for epoch in range(args.epochs):
366362
# Train for one epoch
367363
train_start = time.time()
@@ -430,11 +426,9 @@ def main():
430426
# Update summary metrics
431427
if hit_rate > args.target and first_to_target is None:
432428
first_to_target = epoch
433-
time_to_train = time.time() - begin_train
434429
if hit_rate > best_hr:
435430
best_hr = hit_rate
436431
best_epoch = epoch
437-
time_to_best = time.time() - begin_train
438432
if hit_rate > args.target and final_checkpoint_path:
439433
saver.save(sess, final_checkpoint_path)
440434

@@ -451,8 +445,6 @@ def main():
451445
'average_eval_time_per_epoch': np.mean(eval_times),
452446
'average_eval_throughput': np.mean(eval_throughputs),
453447
'first_epoch_to_hit': first_to_target,
454-
'time_to_train': time_to_train,
455-
'time_to_best': time_to_best,
456448
'best_hr': best_hr,
457449
'best_epoch': best_epoch})
458450
dllogger.flush()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy