- 20 Jul, 2019 2 commits
- 19 Jul, 2019 9 commits
-
-
Igor authored
259030078 by isaprykin<isaprykin@google.com>: Clean up the --clone_model_in_keras_dist_strat from Keras Resnet. The cloning flag has been removed. The current rule is that cloning is only done in graph mode. That resulted in duplicate benchmarks: eager+no-cloning vs eager+cloning. I removed eager+cloning ones. -- 259026454 by isaprykin<isaprykin@google.com>: Internal change PiperOrigin-RevId: 259030078 -
Jing Li authored
* Merged commit includes the following changes: 258867180 by jingli<jingli@google.com>: Add new folders for upcoming reorg in model garden. -- 258893811 by hongkuny<hongkuny@google.com>: Adds summaries for metrics, allowing metrics inside keras.model. -- 258893048 by isaprykin<isaprykin@google.com>: Remove the `cloning` argument to `compile()`. Keras models are distributed by cloning in graph mode and without cloning in eager mode as of the change # 258652546. -- 258881002 by hongkuny<hongkuny@google.com>: Fix lint. -- 258874998 by hongkuny<hongkuny@google.com>: Internal -- 258872662 by hongkuny<hongkuny@google.com>: Fix doc -- PiperOrigin-RevId: 258867180 * Create __init__.py * Update __init__.py * Update __init__.py * Update __init__.py -
guptapriya authored
-
guptapriya authored
-
guptapriya authored
This combination does not yet work. Fail early with an explicit message instead of throwing error later on.
-
Chris Mattmann authored
Fix for TF-models #7216: CIFAR-10 tutorial for multi-GPU fails because full shape isn't passed to prefetch_queue contributed by mattmann. (#7217)
-
guptapriya authored
The current approach checks for presence of contrib. Sometimes this is not sufficient (for e..g when testing TF 1 + enable_v2_behavior=True which is what internal tests currently do)
-
Hongkun Yu authored
258881002 by hongkuny<hongkuny@google.com>: Fix lint. -- 258874998 by hongkuny<hongkuny@google.com>: Internal -- 258872662 by hongkuny<hongkuny@google.com>: Fix doc -- 258871624 by hongkuny<hongkuny@google.com>: Internal change PiperOrigin-RevId: 258881002
-
- 18 Jul, 2019 7 commits
-
-
Hongkun Yu authored
258597234 by rxsang<rxsang@google.com>: Update all the TPUStrategy examples to use the new v2 APIs, i.e. make_dataset_iterator -> experimental_distribute_dataset, make_input_fn_iterator -> experimental_distribute_datasets_from_function, unwrap -> experimental_local_results, experimental_run -> experimental_run_v2 -- 258581998 by taylorrobie<taylorrobie@google.com>: Update keras v2 optimizers to reuse coefficients which are shared across all updates, which reduces the total number of ops created by between 5% (for simple optimizers such as SGD and Adagrad) and 25% (for complicated optimizers such as Adam and NAdam). Separate copies are made for each device and dtype. The effect of this change on run time is fairly minimal since Grappler is expected to consolidate most of these ops; however it does improve graph construction time. -- PiperOrigin-RevId: 258597234 -
Jing Li authored
-
Toby Boyd authored
* Added benchmarks and common flags. * Add cpu tests. * Add tracking epoch times. * fix transformer. * Add examples_per_second. * fix pylint
-
Chris Mattmann authored
Fix for #7225: CIFAR-10 eval fails with error TypeError: Input 'predictions' of 'InTopKV2' Op has type float16 that contributed by mattmann. (#7227)
-
Yongzhe Wang authored
* Merged commit includes the following changes: 257930561 by yongzhe: Mobile LSTD TfLite Client. -- 257928126 by yongzhe: Mobile SSD Tflite client. -- 257921181 by menglong: Fix discrepancy between pre_bottleneck = {true, false} -- 257561213 by yongzhe: File utils. -- 257449226 by yongzhe: Mobile SSD Client. -- 257264654 by yongzhe: SSD utils. -- 257235648 by yongzhe: Proto bazel build rules. -- 256437262 by Menglong Zhu: Fix check for FusedBatchNorm op to only verify it as a prefix. -- 256283755 by yongzhe: Bazel build and copybara changes. -- 251947295 by yinxiao: Add missing interleaved option in checkpoint restore. -- 251513479 by yongzhe: Conversion utils. -- 248783193 by yongzhe: Branch protos needed for the lstd client. -- 248200507 by menglong: Fix proto namespace in example config -- PiperOrigin-RevId: 257930561 * Delete BUILD * Merged commit includes the following changes: 258709909 by yongzhe: 1. Fix a bug that input wasn't copied. 2. Change the tensor indexing to support graph with postprocessing. 3. Fix a bug that the quantized lstm states weren't initialized. -- 258398095 by yongzhe: Internal change. -- PiperOrigin-RevId: 258709909 * Adding myself as the code owner -
Haoyu Zhang authored
* Config threadpool, cuDNN persistent BN, and grappler layout optimizer properly for ResNet56 * Add tweaked tests for Resnet56 * Avoid triggering the last partial batch overhead by explicitly dropping remainder
-
Yongzhe Wang authored
* Merged commit includes the following changes: 257930561 by yongzhe: Mobile LSTD TfLite Client. -- 257928126 by yongzhe: Mobile SSD Tflite client. -- 257921181 by menglong: Fix discrepancy between pre_bottleneck = {true, false} -- 257561213 by yongzhe: File utils. -- 257449226 by yongzhe: Mobile SSD Client. -- 257264654 by yongzhe: SSD utils. -- 257235648 by yongzhe: Proto bazel build rules. -- 256437262 by Menglong Zhu: Fix check for FusedBatchNorm op to only verify it as a prefix. -- 256283755 by yongzhe: Bazel build and copybara changes. -- 251947295 by yinxiao: Add missing interleaved option in checkpoint restore. -- 251513479 by yongzhe: Conversion utils. -- 248783193 by yongzhe: Branch protos needed for the lstd client. -- 248200507 by menglong: Fix proto namespace in example config -- P...
-
- 16 Jul, 2019 3 commits
-
-
Hongkun Yu authored
258208153 by hongkuny<hongkuny@google.com>: Adds run_eagerly option for bert. -- PiperOrigin-RevId: 258208153 -
nnigania authored
* Ncf perf changes 1)exclude metric layer from CTL train step 2)dataset optimization to fix size of the sample_weights, preventing a costly broadcast during loss calculation for multi-gpu case
-
yongzhe2160 authored
* Merged commit includes the following changes: 257930561 by yongzhe: Mobile LSTD TfLite Client. -- 257928126 by yongzhe: Mobile SSD Tflite client. -- 257921181 by menglong: Fix discrepancy between pre_bottleneck = {true, false} -- 257561213 by yongzhe: File utils. -- 257449226 by yongzhe: Mobile SSD Client. -- 257264654 by yongzhe: SSD utils. -- 257235648 by yongzhe: Proto bazel build rules. -- 256437262 by Menglong Zhu: Fix check for FusedBatchNorm op to only verify it as a prefix. -- 256283755 by yongzhe: Bazel build and copybara changes. -- 251947295 by yinxiao: Add missing interleaved option in checkpoint restore. -- 251513479 by yongzhe: Conversion utils. -- 248783193 by yongzhe: Branch protos needed for the lstd client. -- 248200507 by menglong: Fix proto namespace in example config -- PiperOrigin-RevId: 257930561 * Delete BUILD
-
- 15 Jul, 2019 3 commits
-
-
Bruce Fontaine authored
* Initial implementation of Shakespeare character LSTM. * Fix import order
-
Hongkun Yu authored
257883986 by hongkuny<hongkuny@google.com>: Adds tf.summary for bert training -- PiperOrigin-RevId: 257883986 -
pkulzc authored
257914648 by lzc: Internal changes -- 257525973 by Zhichao Lu: Fixes bug that silently prevents checkpoints from loading when training w/ eager + functions. Also sets up scripts to run training. -- 257296614 by Zhichao Lu: Adding detection_features to model outputs -- 257234565 by Zhichao Lu: Fix wrong order of `classes_with_max_scores` in class-agnostic NMS caused by sorting in partitioned-NMS. -- 257232002 by ronnyvotel: Supporting `filter_nonoverlapping` option in np_box_list_ops.clip_to_window(). -- 257198282 by Zhichao Lu: Adding the focal loss and l1 loss from the Objects as Points paper. -- 257089535 by Zhichao Lu: Create Keras based ssd + resnetv1 + fpn. -- 257087407 by Zhichao Lu: Make object_detection/data_decoders Python3-compatible. -- 257004582 by Zhichao Lu: Updates _decode_raw_data_into_masks_and_boxes to the latest binary masks-to-string encoding fo...
-
- 11 Jul, 2019 5 commits
-
-
Toby Boyd authored
-
Toby Boyd authored
* Record highest uncased bleu found. * change to bleu_best_score_iteration
-
Toby Boyd authored
-
saberkun authored
257314238 by hongkuny<hongkuny@google.com>: Creates transformer v2 README. Remove contents that are not implemented. -- PiperOrigin-RevId: 257314238 -
Toby Boyd authored
* Move to global_step. * Hook to use global_step. * fix comment start step 1 not step 0. * remove hack used for testing. * Add docstring.
-
- 10 Jul, 2019 1 commit
-
-
Rahul Nimbal authored
* Update research/maskgan/README.md Co-Authored-By:Andrew M Dai <andy.dai@gmail.com>
-
- 09 Jul, 2019 2 commits
-
-
Haoyu Zhang authored
* Improve performance for Cifar ResNet benchmarks * Revert batch size changes to benchmarks
-
David Andersen authored
Update to tf 1.14 syntax, fix bug #7125 (needed additional expand for conv2d). Suppress compat warnings by moving to compat.v1 versions of some functions. Note that this code is not 2.0 compatible yet - that will be a future push. (#7177)
-
- 08 Jul, 2019 5 commits
-
-
Toby Boyd authored
-
Toby Boyd authored
* reduce iterations from 20 to 12. * add fp16 dynamic batch accuracy check. * fix existing lint issue.
-
Yang Liu authored
* Bug fix of cifar10_eval.py line 120: changed from eval_data = FLAGS.eval_data == 'test' to: eval_data = FLAGS.eval_data comment: the original code assigns 'true' to eval_data, when the script is being used to evaluate networks on the evaluation set, it DOES NOT load the evaluation set as intended, but actually loads the trainning set (line 105 of cifar10_input.py). * Remove one line that was an artifact of issue.
-
Yuhao Zhang authored
-
Devansh Singh authored
-
- 03 Jul, 2019 1 commit
-
-
Toby Boyd authored
* Fix unit tests failures. * 96% of TF 2.0 tests on GPU are passing. * Currently all passing GPU and CPU TF 2.0 * Address code comments. * use tf 2.0 cast. * Comment about working on TF 2.0 CPU * Uses contrib turn off for TF 2.0. * Fix wide_deep and add keras_common_tests. * use context to get num_gpus. * Switch to tf.keras.metrics
-
- 02 Jul, 2019 2 commits
-
-
saberkun authored
256204636 by hongkuny<hongkuny@google.com>: Internal -- 256079834 by hongkuny<hongkuny@google.com>: Clean up: move common flags together for further refactoring Enable steps_per_loop option for all applications. -- PiperOrigin-RevId: 256204636 -
Yuefeng Zhou authored
* Add StepCounterHook to hooks_helper.py * Update symbol.
-