- 26 Aug, 2019 1 commit
-
-
Reed Wanderman-Milne authored
--synthetic_data, --dtype, --all_reduce_alg, and --num_packs have been unexposed from models which do not use them PiperOrigin-RevId: 265483564
-
- 25 Aug, 2019 1 commit
-
-
Hongkun Yu authored
PiperOrigin-RevId: 265355791
-
- 23 Aug, 2019 1 commit
-
-
Reed Wanderman-Milne authored
--num_parallel_calls, --inter_op_parallelism_threads, and --intra_op_parallelism_threads have been unexposed from models which do not use them PiperOrigin-RevId: 264965788
-
- 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
-
- 22 Jun, 2019 1 commit
-
-
Toby Boyd authored
-
- 03 Jun, 2019 1 commit
-
-
Dwight J Lyle authored
After the change (https://github.com/tensorflow/models/pull/6846/files#diff-965780bf33f2aeca41a33f8eba197c79) I receive the following error: File "./models/official/mnist/mnist_tpu.py", line 202, in <module> absl_app.run() TypeError: run() missing 1 required positional argument: 'main' I added main as an argument and it seems to be working fine now.
-
- 24 May, 2019 1 commit
-
-
Tian Lin authored
* Merged commit includes the following changes: 249776315 by tianlin<tianlin@google.com>: Internal change 249763206 by tianlin<tianlin@google.com>: For TF 2.0 (related to Beam Search), expand cond dims in tf.where(cond, x, y) to make all parameters broadcastable. -- 249392724 by hongkuny<hongkuny@google.com>: Internal change PiperOrigin-RevId: 249776315 * Merged commit includes the following changes: 249823043 by tianlin<tianlin@google.com>: Bring back v2 test for predict and eval. -- PiperOrigin-RevId: 249823043
-
- 22 May, 2019 1 commit
-
-
Tian Lin authored
* Merged commit includes the following changes: 249218656 by tianlin<tianlin@google.com>: Deal with imports, fix a typo and make unit tests fast. -- 249198645 by tianlin<tianlin@google.com>: Trivial: Remove one empty line before "import tensorflow" -- 249195490 by tianlin<tianlin@google.com>: Initialize Transformer TF V2 Model with Keras subclassing implementation. (Compatible with TF V1) -- 249195008 by tianlin<tianlin@google.com>: Internal change 249173564 by hongkuny<hongkuny@google.com>: Internal change 249079258 by hongkuny<hongkuny@google.com>: Internal change 247691534 by haoyuzhang<haoyuzhang@google.com>: Internal change 247533725 by haoyuzhang<haoyuzhang@google.com>: Internal change 247509295 by haoyuzhang<haoyuzhang@google.com>: Internal change 247311355 by wangtz<wangtz@google.com>: Internal change 247303127 by wangtz<wangtz@google.com>: Minor changes -- 247277315 by wangtz<wangtz@google.com>: Internal change 247143663 by wangtz<wangtz@google.com>: Internal change 247129668 by wangtz<wangtz@google.com>: Internal change -- 247110547 by wangtz<wangtz@google.com>: Internal change 247016722 by haoyuzhang<haoyuzhang@google.com>: Internal change 246677582 by haoyuzhang<haoyuzhang@google.com>: Internal change 245821839 by shiningsun<shiningsun@google.com>: Internal change 245353681 by gjn<gjn@google.com>: Internal change 245340898 by haoyuzhang<haoyuzhang@google.com>: Internal change 245291749 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 245155641 by haoyuzhang<haoyuzhang@google.com>: Internal change 244962751 by haoyuzhang<haoyuzhang@google.com>: Internal change 244395199 by haoyuzhang<haoyuzhang@google.com>: Internal change 244098932 by shiningsun<shiningsun@google.com>: Internal change 244019160 by haoyuzhang<haoyuzhang@google.com>: Internal change 242965373 by shiningsun<shiningsun@google.com>: Internal change 242930998 by shiningsun<shiningsun@google.com>: Internal change 242914617 by shiningsun<shiningsun@google.com>: Internal change 242510000 by shiningsun<shiningsun@google.com>: Internal change 242183356 by haoyuzhang<haoyuzhang@google.com>: Internal change 242049350 by haoyuzhang<haoyuzhang@google.com>: Internal change 241749800 by haoyuzhang<haoyuzhang@google.com>: Internal change 241663771 by haoyuzhang<haoyuzhang@google.com>: Internal change 241416315 by haoyuzhang<haoyuzhang@google.com>: Internal change 241054800 by haoyuzhang<haoyuzhang@google.com>: Internal change 241028555 by yuefengz<yuefengz@google.com>: Internal change 240683076 by haoyuzhang<haoyuzhang@google.com>: Internal change 240404735 by yuefengz<yuefengz@google.com>: Internal change 239892001 by haoyuzhang<haoyuzhang@google.com>: Internal change 239316550 by haoyuzhang<haoyuzhang@google.com>: Internal change 238316437 by shiningsun<shiningsun@google.com>: Internal change 238251867 by haoyuzhang<haoyuzhang@google.com>: Internal change 237876559 by taylorrobie<taylorrobie@google.com>: Internal change 236346619 by haoyuzhang<haoyuzhang@google.com>: Internal change 236182665 by tayo<tayo@google.com>: Internal change 235035787 by haoyuzhang<haoyuzhang@google.com>: Internal change 234652747 by wangtz<wangtz@google.com>: Internal change 234606543 by wangtz<wangtz@google.com>: Internal change 233837502 by shiningsun<shiningsun@google.com>: Internal change 232033015 by shiningsun<shiningsun@google.com>: Internal change 232028127 by shiningsun<shiningsun@google.com>: Internal change 232026986 by shiningsun<shiningsun@google.com>: Internal change 232024086 by shiningsun<shiningsun@google.com>: Internal change 229839087 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 229794563 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 229204024 by shiningsun<shiningsun@google.com>: Internal change 228956426 by shiningsun<shiningsun@google.com>: Internal change 228610870 by haoyuzhang<haoyuzhang@google.com>: Internal change 228586727 by haoyuzhang<haoyuzhang@google.com>: Internal change 228564809 by taylorrobie<taylorrobie@google.com>: Internal change 227080093 by shiningsun<shiningsun@google.com>: Internal change 227052580 by shiningsun<shiningsun@google.com>: Internal change 226217872 by gsundeep<gsundeep@google.com>: Internal change 225436264 by shiningsun<shiningsun@google.com>: Internal change 222283824 by taylorrobie<taylorrobie@google.com>: Internal change 219719958 by taylorrobie<taylorrobie@google.com>: Internal change 219330498 by taylorrobie<taylorrobie@google.com>: Internal change 219241224 by taylorrobie<taylorrobie@google.com>: Internal change 218774474 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 218610966 by taylorrobie<taylorrobie@google.com>: Internal change 218576353 by taylorrobie<taylorrobie@google.com>: Internal change 217815929 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 217776707 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 217749789 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 217029365 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 216803510 by taylorrobie<taylorrobie@google.com>: Internal change 216570979 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 215640939 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 214516790 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 212485310 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 212339556 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 210935187 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 210658133 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 207194426 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 206963562 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 206866123 by taylorrobie<taylorrobie@google.com>: Internal change 206631416 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 206180517 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 206170536 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 205252141 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 204191308 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 202519641 by scottzhu<scottzhu@google.com>: Internal change 201577585 by scottzhu<scottzhu@google.com>: Internal change 201299684 by kathywu<kathywu@google.com>: Internal change 199825697 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 199655516 by karmel<karmel@google.com>: Internal change 199654555 by karmel<karmel@google.com>: Internal change 199653009 by karmel<karmel@google.com>: Internal change 199209802 by karmel<karmel@google.com>: Internal change 198089630 by karmel<karmel@google.com>: Internal change 198064765 by karmel<karmel@google.com>: Automated rollback of changelist 197740116. 198060863 by karmel<karmel@google.com>: Automated rollback of changelist 197920496. 197920496 by kathywu<kathywu@google.com>: Internal change 197841416 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 197740116 by kathywu<kathywu@google.com>: Internal change 196608994 by karmel<karmel@google.com>: Internal change 196172336 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 195867348 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 195725348 by taylorrobie<taylorrobie@google.com>: Internal change 195283704 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 194960508 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 194662698 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 194103064 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 193735742 by saeta<saeta@google.com>: Support legacy clusters -- 193581866 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 193567921 by taylorrobie<taylorrobie@google.com>: Internal change 193072964 by taylorrobie<taylorrobie@google.com>: Internal change 192783651 by scottzhu<scottzhu@google.com>: Automated rollback of changelist 192714881. 192714881 by scottzhu<scottzhu@google.com>: Automated rollback of changelist 192710755. 192710755 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 192374551 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 192346754 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 192298443 by karmel<karmel@google.com>: Internal change 192220576 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 191937900 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 191909212 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 191602380 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 191514106 by scottzhu<scottzhu@google.com>: Internal change 191355033 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 191327699 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 190938103 by karmel<karmel@google.com>: Internal change 190804388 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 190780502 by karmel<karmel@google.com>: Internal change 190479716 by karmel<karmel@google.com>: Internal change 190289991 by karmel<karmel@google.com>: Internal change 189844661 by scottzhu<scottzhu@google.com>: Automated rollback of changelist 189816818. 189816818 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 189796731 by kathywu<kathywu@google.com>: Internal change 189639056 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 189628781 by karmel<karmel@google.com>: Internal change 189267175 by karmel<karmel@google.com>: Internal change 189222334 by karmel<karmel@google.com>: Internal change 189096159 by karmel<karmel@google.com>: Internal change 189085341 by karmel<karmel@google.com>: Internal change 188949700 by karmel<karmel@google.com>: Internal change 188780170 by karmel<karmel@google.com>: Internal change 188525399 by karmel<karmel@google.com>: Internal change 188189681 by karmel<karmel@google.com>: Internal change 188076840 by wun<wun@google.com>: Internal change 188074937 by wun<wun@google.com>: Internal change 187764140 by wun<wun@google.com>: Internal change 187663993 by wun<wun@google.com>: Internal change 187651035 by karmel<karmel@google.com>: Internal change 187415223 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 187047094 by saeta<saeta@google.com>: Integrate ClusterResolvers with TPUEstimator. -- 186843813 by karmel<karmel@google.com>: Internal change 186843458 by karmel<karmel@google.com>: Internal change 186348279 by karmel<karmel@google.com>: Internal change 186323602 by ashankar<ashankar@google.com>: Internal change 185051452 by wun<wun@google.com>: Internal change 185039308 by wun<wun@google.com>: Internal change 184934877 by wun<wun@google.com>: Internal change 184876413 by wun<wun@google.com>: Internal change 184868771 by wun<wun@google.com>: Internal change 184751017 by wun<wun@google.com>: Internal change 184743769 by wun<wun@google.com>: Internal change 183894402 by frankchn<frankchn@google.com>: Internal change 183863555 by frankchn<frankchn@google.com>: Internal change 183249343 by karmel<karmel@google.com>: Internal change 183099733 by wun<wun@google.com>: Internal change 182981253 by wun<wun@google.com>: Internal change 182977703 by wun<wun@google.com>: Internal change 182414330 by ashankar<ashankar@google.com>: Internal change 182069924 by wun<wun@google.com>: Internal change 181544879 by ashankar<ashankar@google.com>: Internal change 180618064 by ashankar<ashankar@google.com>: Internal change 180591779 by ashankar<ashankar@google.com>: Internal change 179724765 by kathywu<kathywu@google.com>: Internal change 179713599 by kathywu<kathywu@google.com>: Internal change 179110125 by wun<wun@google.com>: Internal change 178793339 by kathywu<kathywu@google.com>: Internal change 176581733 by wun<wun@google.com>: Internal change 175220569 by wun<wun@google.com>: Internal change 175183195 by wun<wun@google.com>: Internal change 175171381 by wun<wun@google.com>: Internal change 175036833 by wun<wun@google.com>: Internal change 175031858 by wun<wun@google.com>: Internal change 174891336 by wun<wun@google.com>: Internal change 174881248 by kathywu<kathywu@google.com>: Internal change 174766157 by wun<wun@google.com>: Internal change 173723629 by wun<wun@google.com>: Internal change 173579695 by wun<wun@google.com>: Internal change 173443901 by wun<wun@google.com>: Internal change 173340656 by wun<wun@google.com>: Internal change 172954249 by wun<wun@google.com>: Internal change 172926654 by wun<wun@google.com>: Internal change 172922540 by wun<wun@google.com>: Internal change 172921684 by kathywu<kathywu@google.com>: Internal change 170943723 by wun<wun@google.com>: Internal change 170927898 by wun<wun@google.com>: Internal change 170430173 by wun<wun@google.com>: Internal change 170428312 by wun<wun@google.com>: Internal change PiperOrigin-RevId: 249218656 * Revert "Merged commit includes the following changes:" This reverts commit e30d805d3770d7473166dcca1ecb6050dc5de47a. * Merged commit includes the following changes: PiperOrigin-RevId: 249232280 * Merged commit includes the following changes: 249376444 by tianlin<tianlin@google.com>: Internal change 249373328 by hongkuny<hongkuny@google.com>: Clean up tf import -- 249340512 by hongkuny<hongkuny@google.com>: Internal change 249325089 by hongkuny<hongkuny@google.com>: BERT 2.0 -- 249260134 by tianlin<tianlin@google.com>: Internal change PiperOrigin-RevId: 249376444 * Fixed absl_app in official/mnist/mnist_tpu.py * Make metrics in order (switch from dict to list of tuples). * Revert ResNet Model to an earlier version. * Fix lint format. * Disable two tests in v2.
-
- 26 Mar, 2019 1 commit
-
-
tranvohuy authored
tf.to_int32 raise deprecated warning. change tf.to_int32(labels) to tf.cast(labels, tf.int32)
-
- 13 Feb, 2019 1 commit
-
-
Yuefeng Zhou authored
* Add a flag to specify distribution strategies. * Fix a small error. * Address comments. * Address comments. * Fix typos.
-
- 20 Dec, 2018 1 commit
-
-
Derek Murray authored
1. `tf.contrib.data.batch_and_drop_remainder()` has been deprecated for a while now. 2. `Dataset.make_one_shot_iterator()` is no longer necessary in input functions, and avoiding it lead to better performance on TPUs. (It will also be removed in TF 2.0.)
-
- 04 Oct, 2018 1 commit
-
-
Taylor Robie authored
* set strip_default_attrs=True for SavedModel exports * specify dtype in resnet export * another dtype fix * fix another dtype issue, and set --image_bytes_as_serving_input to default to False
-
- 01 Oct, 2018 1 commit
-
-
Aman Gupta authored
Some changes specific to prediction. Removing traces of expected results, as this is just prediction.
-
- 25 Sep, 2018 2 commits
-
-
Aman Gupta authored
-
Aman Gupta authored
Right now we don't have input data for prediction. So using top 10 entries of test data as input.
-
- 28 Aug, 2018 1 commit
-
-
Jaeman authored
* Fix bug on distributed training in mnist using MirroredStrategy API * Remove unnecessary codes and chagne distribution strategy source - Remove multi-gpu - Remove TowerOptimizer - Change from MirroredStrategy to distribution_utils.get_distribution_strategy
-
- 21 Jul, 2018 1 commit
-
-
Igor Ganichev authored
float32 should be fine for mnist loss and accuracy metrics and float64 is not available on TPUs.
-
- 19 Jul, 2018 1 commit
-
-
Asim Shankar authored
-
- 26 Jun, 2018 1 commit
-
-
Billy Lamberta authored
-
- 20 Jun, 2018 1 commit
-
-
Taylor Robie authored
* begin branch * finish download script * rename download to dataset * intermediate commit * intermediate commit * misc tweaks * intermediate commit * intermediate commit * intermediate commit * delint and update census test. * add movie tests * delint * fix py2 issue * address PR comments * intermediate commit * intermediate commit * intermediate commit * finish wide deep transition to vanilla movielens * delint * intermediate commit * intermediate commit * intermediate commit * intermediate commit * fix import * add default ncf csv construction * change default on download_if_missing * shard and vectorize example serialization * fix import * update ncf data unittests * delint * delint * more delinting * fix wide-deep movielens serialization * address PR comments * add file_io tests * investigate wide-deep test failure * remove hard coded path and properly use flags. * address file_io test PR comments * missed a hash_bucked_size
-
- 12 Jun, 2018 1 commit
-
-
Katherine Wu authored
* Add DistributionStrategy to transformer model * add num_gpu flag * Calculate per device batch size for transformer * remove reference to flags_core * Add synthetic data option to transformer * fix typo * add import back in * Use hierarchical copy * address PR comments * lint * fix spaces * group train op together to fix single GPU error * Fix translate bug (sorted_keys is a dict, not a list) * Change params to a default dict (translate.py was throwing errors because params didn't have the TPU parameters.) * Address PR comments. Removed multi gpu flag + more * fix lint * fix more lints * add todo for Synthetic dataset * Update docs
-
- 09 May, 2018 1 commit
-
-
Tobias Hinz authored
Update mnist_eager.py to use GPU if available and not specified otherwise. At the moment it uses the CPU even if a GPU is available, since "if flags_obj.no_gpu or tf.test.is_gpu_available():" in "def run_mnist_eager(flags_obj):" evaluates to True if a GPU is available.
-
- 03 May, 2018 4 commits
-
-
Taylor Robie authored
* Revert 823da318. This restores distribution strategies for resnet. This commit is not a direct revert due to significant merge conflict resolution. * fix flags test * npc is no longer used in resnet
-
Qianli Scott Zhu authored
-
Taylor Robie authored
* fix treatment of main() and absl flags * add mnist_eager, and delint * add mnist_eager docstring
-
Taylor Robie authored
* squash of modular absl usage commits * delint * address PR comments * change hooks to comma separated list, as absl behavior for space separated lists is not as expected
-
- 02 May, 2018 1 commit
-
-
Asim Shankar authored
-
- 30 Apr, 2018 2 commits
-
-
Frank Chen authored
* Add new import paths to mnist_tpu.py This adds new import paths to mnist_tpu.py so individuals can check out the git repository and run `python mnist_tpu.py` without finagling with python import search paths. * Fix lint errors * Add disable= to pylint instructions * Remove parent path * Update comments
-
eantaev authored
-
- 26 Apr, 2018 1 commit
-
-
Katherine Wu authored
-
- 23 Apr, 2018 1 commit
-
-
Taylor Robie authored
-
- 19 Apr, 2018 1 commit
-
-
Taylor Robie authored
This reverts commit 32aa6563.
-
- 12 Apr, 2018 1 commit
-
-
Taylor Robie authored
* begin transfer from contrib fork more changes to resnet_run_loop use AUTOTUNE in prefetch first pass at resnet with functional distribution strategies fix syntax error delint aesthetic tweaks delint and fix typos rip multi_gpu flag out of resnet entirely. Subject to saved model load verification update cifar10 and imagenet tests to reflect that the model function no longer need to know about multi_gpu fix imagenet test start addressing PR comments more PR response work * misc tweaks * add a comment * final pr tweaks * fix parsers
-
- 11 Apr, 2018 1 commit
-
-
Asim Shankar authored
-
- 10 Apr, 2018 4 commits
-
-
Asim Shankar authored
-
Asim Shankar authored
-
Asim Shankar authored
-
Karmel Allison authored
* Adding tests * Adding tests * Repackaging * Adding logging * Linting
-
- 06 Apr, 2018 2 commits
-
-
Qianli Scott Zhu authored
-
Qianli Scott Zhu authored
-