- 22 May, 2019 2 commits
-
-
Zhuoran Liu authored
247226201 by ronnyvotel: Updating the visualization tools to accept unique_ids for color coding. -- 247067830 by Zhichao Lu: Add box_encodings_clip_range options for the convolutional box predictor (for TPU compatibility). -- 246888475 by Zhichao Lu: Remove unused _update_eval_steps function. -- 246163259 by lzc: Add a gather op that can handle ignore indices (which are "-1"s in this case). -- 246084944 by Zhichao Lu: Keras based implementation for SSD + MobilenetV2 + FPN. -- 245544227 by rathodv: Add batch_get_targets method to target assigner module to gather any groundtruth tensors based on the results of target assigner. -- 245540854 by rathodv: Update target assigner to return match tensor instead of a match object. -- 245434441 by Zhichao Lu: Add README for tpu_exporters package. -- 245381834 by lzc: Internal change. -- 245298983 by Zhichao Lu: Add conditional_shape_resizer to config_util -- 245134666 by Zhichao Lu: Adds ConditionalShapeResizer to the ImageResizer proto which enables resizing only if input image height or width is is greater or smaller than a certain size. Also enables specification of resize method in resize_to_{max, min}_dimension methods. -- 245093975 by Zhichao Lu: Exporting SavedModel for Object Detection TPU inference. (faster-rcnn) -- 245072421 by Zhichao Lu: Adds a new image resizing method "resize_to_max_dimension" which resizes images only if a dimension is greater than the maximum desired value while maintaining aspect ratio. -- 244946998 by lzc: Internal Changes. -- 244943693 by Zhichao Lu: Add a custom config to mobilenet v2 that makes it more detection friendly. -- 244754158 by derekjchow: Internal change. -- 244699875 by Zhichao Lu: Add check_range=False to box_list_ops.to_normalized_coordinates when training for instance segmentation. This is consistent with other calls when training for object detection. There could be wrongly annotated boxes in the dataset. -- 244507425 by rathodv: Support bfloat16 for ssd models. -- 244399982 by Zhichao Lu: Exporting SavedModel for Object Detection TPU inference. (ssd) -- 244209387 by Zhichao Lu: Internal change. -- 243922296 by rathodv: Change `raw_detection_scores` to contain softmax/sigmoid scores (not logits) for `raw_ detection_boxes`. -- 243883978 by Zhichao Lu: Add a sample fully conv config. -- 243369455 by Zhichao Lu: Fix regularization loss gap in Keras and Slim. -- 243292002 by lzc: Internal changes. -- 243097958 by Zhichao Lu: Exporting SavedModel for Object Detection TPU inference. (ssd model) -- 243007177 by Zhichao Lu: Exporting SavedModel for Object Detection TPU inference. (ssd model) -- 242776550 by Zhichao Lu: Make object detection pre-processing run on GPU. tf.map_fn() uses TensorArrayV3 ops, which have no int32 GPU implementation. Cast to int64, then cast back to int32. -- 242723128 by Zhichao Lu: Using sorted dictionaries for additional heads in non_max_suppression to ensure tensor order -- 242495311 by Zhichao Lu: Update documentation to reflect new TFLite examples repo location -- 242230527 by Zhichao Lu: Fix Dropout bugs for WeightSharedConvolutionalBoxPred. -- 242226573 by Zhichao Lu: Create Keras-based WeightSharedConvolutionalBoxPredictor. -- 241806074 by Zhichao Lu: Add inference in unit tests of TFX OD template. -- 241641498 by lzc: Internal change. -- 241637481 by Zhichao Lu: matmul_crop_and_resize(): Switch to dynamic shaping, so that not all dimensions are required to be known. -- 241429980 by Zhichao Lu: Internal change -- 241167237 by Zhichao Lu: Adds a faster_rcnn_inception_resnet_v2 Keras feature extractor, and updates the model builder to construct it. -- 241088616 by Zhichao Lu: Make it compatible with different dtype, e.g. float32, bfloat16, etc. -- 240897364 by lzc: Use image_np_expanded in object_detection_tutorial notebook. -- 240890393 by Zhichao Lu: Disable multicore inference for OD template as its not yet compatible. -- 240352168 by Zhichao Lu: Make SSDResnetV1FpnFeatureExtractor not protected to allow inheritance. -- 240351470 by lzc: Internal change. -- 239878928 by Zhichao Lu: Defines Keras box predictors for Faster RCNN and RFCN -- 239872103 by Zhichao Lu: Delete duplicated inputs in test. -- 239714273 by Zhichao Lu: Adding scope variable to all class heads -- 239698643 by Zhichao Lu: Create FPN feature extractor for object detection. -- 239696657 by Zhichao Lu: Internal Change. -- 239299404 by Zhichao Lu: Allows the faster rcnn meta-architecture to support Keras subcomponents -- 238502595 by Zhichao Lu: Lay the groundwork for symmetric quantization. -- 238496885 by Zhichao Lu: Add flexible_grid_anchor_generator -- 238138727 by lzc: Remove dead code. _USE_C_SHAPES has been forced True in TensorFlow releases since TensorFlow 1.9 (https://github.com/tensorflow/tensorflow/commit/1d74a69443f741e69f9f52cb6bc2940b4d4ae3b7) -- 238123936 by rathodv: Add num_matched_groundtruth summary to target assigner in SSD. -- 238103345 by ronnyvotel: Raising error if input file pattern does not match any files. Also printing the number of evaluation images for coco metrics. -- 238044081 by Zhichao Lu: Fix docstring to state the correct dimensionality of `class_predictions_with_background`. -- 237920279 by Zhichao Lu: [XLA] Rework debug flags for dumping HLO. The following flags (usually passed via the XLA_FLAGS envvar) are removed: xla_dump_computations_to xla_dump_executions_to xla_dump_ir_to xla_dump_optimized_hlo_proto_to xla_dump_per_pass_hlo_proto_to xla_dump_unoptimized_hlo_proto_to xla_generate_hlo_graph xla_generate_hlo_text_to xla_hlo_dump_as_html xla_hlo_graph_path xla_log_hlo_text The following new flags are added: xla_dump_to xla_dump_hlo_module_re xla_dump_hlo_pass_re xla_dump_hlo_as_text xla_dump_hlo_as_proto xla_dump_hlo_as_dot xla_dump_hlo_as_url xla_dump_hlo_as_html xla_dump_ir xla_dump_hlo_snapshots The default is not to dump anything at all, but as soon as some dumping flag is specified, we enable the following defaults (most of which can be overridden). * dump to stdout (overridden by --xla_dump_to) * dump HLO modules at the very beginning and end of the optimization pipeline * don't dump between any HLO passes (overridden by --xla_dump_hlo_pass_re) * dump all HLO modules (overridden by --xla_dump_hlo_module_re) * dump in textual format (overridden by --xla_dump_hlo_as_{text,proto,dot,url,html}). For example, to dump optimized and unoptimized HLO text and protos to /tmp/foo, pass --xla_dump_to=/tmp/foo --xla_dump_hlo_as_text --xla_dump_hlo_as_proto For details on these flags' meanings, see xla.proto. The intent of this change is to make dumping both simpler to use and more powerful. For example: * Previously there was no way to dump the HLO module during the pass pipeline in HLO text format; the only option was --dump_per_pass_hlo_proto_to, which dumped in proto format. Now this is --xla_dump_pass_re=.* --xla_dump_hlo_as_text. (In fact, the second flag is not necessary in this case, as dumping as text is the default.) * Previously there was no way to dump HLO as a graph before and after compilation; the only option was --xla_generate_hlo_graph, which would dump before/after every pass. Now this is --xla_dump_hlo_as_{dot,url,html} (depending on what format you want the graph in). * Previously, there was no coordination between the filenames written by the various flags, so info about one module might be dumped with various filename prefixes. Now the filenames are consistent and all dumps from a particular module are next to each other. If you only specify some of these flags, we try to figure out what you wanted. For example: * --xla_dump_to implies --xla_dump_hlo_as_text unless you specify some other --xla_dump_as_* flag. * --xla_dump_hlo_as_text or --xla_dump_ir implies dumping to stdout unless you specify a different --xla_dump_to directory. You can explicitly dump to stdout with --xla_dump_to=-. As part of this change, I simplified the debugging code in the HLO passes for dumping HLO modules. Previously, many tests explicitly VLOG'ed the HLO module before, after, and sometimes during the pass. I removed these VLOGs. If you want dumps before/during/after an HLO pass, use --xla_dump_pass_re=<pass_name>. -- 237510043 by lzc: Internal Change. -- 237469515 by Zhichao Lu: Parameterize model_builder.build in inputs.py. -- 237293511 by rathodv: Remove multiclass_scores from tensor_dict in transform_data_fn always. -- 237260333 by ronnyvotel: Updating faster_rcnn_meta_arch to define prediction dictionary fields that are batched. -- PiperOrigin-RevId: 247226201 -
tjakob authored
-
- 21 May, 2019 3 commits
-
-
André Araujo authored
* Initial feature aggregation code for Detect-to-Retrieve paper. PiperOrigin-RevId: 246043144 * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*. PiperOrigin-RevId: 247337028 * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types. Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested. PiperOrigin-RevId: 247515205 * Add batching option to feature aggregation extraction. PiperOrigin-RevId: 247614627 * Script to perform local feature aggregation, with associated configs. Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM. PiperOrigin-RevId: 248150750 * Tests to check that aggregation using regions with no local features works. PiperOrigin-RevId: 248153275 * Include new library/proto for aggregation * Merged commit includes the following changes: PiperOrigin-RevId: 24817...
-
André Araujo authored
* Initial feature aggregation code for Detect-to-Retrieve paper. PiperOrigin-RevId: 246043144 * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*. PiperOrigin-RevId: 247337028 * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types. Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested. PiperOrigin-RevId: 247515205 * Add batching option to feature aggregation extraction. PiperOrigin-RevId: 247614627 * Script to perform local feature aggregation, with associated configs. Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM. PiperOrigin-RevId: 248150750 * Tests to check that aggregation using regions with no local features works. PiperOrigin-RevId: 248153275 * Include new library/proto for aggregation * Merged commit includes the following changes: PiperOrigin-RevId: 248176511 * Merged commit includes the following changes: 248194572 by Andre Araujo: Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X. -- PiperOrigin-RevId: 248194572 * Functions to parse ground-truth and compute metrics for revisited datasets. Unit tests are added. PiperOrigin-RevId: 248561575 * Small change to argparse bool option, which does not work as expected. PiperOrigin-RevId: 248805505 * Class to compute similarity between aggregated descriptors. PiperOrigin-RevId: 249102986 * Script to perform retrieval and compute metrics. PiperOrigin-RevId: 249104011 * feature_aggregation_similarity library in DELF init * D2R instructions / README update * Small edit to README * Internal change. PiperOrigin-RevId: 249113531 * Instructions to reproduce D2R paper results, and small edits to config files. PiperOrigin-RevId: 249159850 * Revert "Internal change." This reverts commit 0529f2b8471a20c88f1fbb37367f142965d098ee. Undoing incorrect markdown deletion. -
André Araujo authored
* Initial feature aggregation code for Detect-to-Retrieve paper. PiperOrigin-RevId: 246043144 * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*. PiperOrigin-RevId: 247337028 * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types. Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested. PiperOrigin-RevId: 247515205 * Add batching option to feature aggregation extraction. PiperOrigin-RevId: 247614627 * Script to perform local feature aggregation, with associated configs. Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM. PiperOrigin-RevId: 248150750 * Tests to check that aggregation using regions with no local features works. PiperOrigin-RevId: 248153275 * Include new library/proto for aggregation * Merged commit includes the following changes: PiperOrigin-RevId: 248176511 * Merged commit includes the following changes: 248194572 by Andre Araujo: Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X. -- PiperOrigin-RevId: 248194572 * Functions to parse ground-truth and compute metrics for revisited datasets. Unit tests are added. PiperOrigin-RevId: 248561575 * Small change to argparse bool option, which does not work as expected. PiperOrigin-RevId: 248805505 * Class to compute similarity between aggregated descriptors. PiperOrigin-RevId: 249102986 * Script to perform retrieval and compute metrics. PiperOrigin-RevId: 249104011 * feature_aggregation_similarity library in DELF init * D2R instructions / README update * Small edit to README * Internal change. PiperOrigin-RevId: 249113531 * Instructions to reproduce D2R paper results, and small edits to config files. PiperOrigin-RevId: 249159850
-
- 16 May, 2019 2 commits
-
-
Mikhail Erofeev authored
-
JimintheBox authored
-
- 14 May, 2019 2 commits
-
-
derekjchow authored
-
André Araujo authored
* Initial feature aggregation code for Detect-to-Retrieve paper. PiperOrigin-RevId: 246043144 * Add support for ASMK/ASMK*/R-ASMK/R-ASMK*. PiperOrigin-RevId: 247337028 * Add DatumProto uint32 field, and limit datum_io to uint32 and float32/float64 types. Also, introduce DatumPairProto, to be used for ASMK variants. Functions to read/write in this new format are added and tested. PiperOrigin-RevId: 247515205 * Add batching option to feature aggregation extraction. PiperOrigin-RevId: 247614627 * Script to perform local feature aggregation, with associated configs. Also small edits to the aggregation extractor, for better handling of input features / avoiding OOM. PiperOrigin-RevId: 248150750 * Tests to check that aggregation using regions with no local features works. PiperOrigin-RevId: 248153275 * Include new library/proto for aggregation * Merged commit includes the following changes: PiperOrigin-RevId: 248176511 * Merged commit includes the following changes: 248194572 by Andre Araujo: Change tf.tensor_scatter_nd_add --> tf.compat.v1.tensor_scatter_add to make it compatible with TF 1.X. -- PiperOrigin-RevId: 248194572
-
- 08 May, 2019 1 commit
-
-
Menglong Zhu authored
246873701 by menglong: Missing __init__.py under meta_architectures/ -- 246857392 by menglong: Standardize proto namespace: lstm_object_detection.protos -- 246625127 by menglong: Internal changes. -- 246596481 by menglong: Add License -- 246580605 by menglong: Internal changes -- 246344626 by menglong: Open source interleaved mobilenet v2 model. -- 244893883 by menglong: Introduce multi_input_decoder for interleaved model. -- 244461016 by menglong: Add pre-bottleneck operation to lstm cells to support interleaved model. -- 244052176 by menglong: Update README -- 244020495 by menglong: Add test to rnn_decoder. -- 243704250 by menglong: Duplicate assignment. -- 243091836 by menglong: Move LSTMSSD meta arch into separate folder -- 242900337 by menglong: Modified mobilenet definition for LSTM-SSD -- 242773195 by menglong: Release GroupedConvLSTMCell implementation: https://arxiv.org/abs/1903.10172 -- 242574736 by menglong: Introduce module for quantizated training. -- 242544306 by menglong: lstm_ssd_meta_arch updates, added test rename: - LSTMMetaArch to LSTMSSDMetaArch - LSTMFeatureExtractor to LSTMSSDFeatureExtractor -- 241986236 by menglong: Move lstm quantization utils to 3rd party. -- 225922488 by yinxiao: Training pipeline fixes. -- 224839137 by yinxiao: Issue fix for lstm object detecion sample config. -- 224246947 by menglong: Fix logging module import -- PiperOrigin-RevId: 246873701
-
- 06 May, 2019 1 commit
-
-
Yukun Zhu authored
* deeplab quantize * Fix bug in train.py * Create quantize.md
-
- 02 May, 2019 1 commit
-
-
Krishnan Srinivasan authored
* updated mujoco api calls to data, and tensorflow call to CriticalSection (moved from contrib.framework) * changed efficient-hrl envs so self.physics points to correct PyMj object based on mujoco_py version * corrected mujoco version number checkm in AntEnv.physics and PointEnv.physics properties * fix AntEnv.set_xy by reverting to using self.physics
-
- 01 May, 2019 1 commit
-
-
André Araujo authored
* Internal change. PiperOrigin-RevId: 185564155 * Fix small bug when reading DELF features when file is empty. A new test is added that catches this bug. PiperOrigin-RevId: 213839503 * Refactors DELF example code to expose a function to create a DELF feature extractor. PiperOrigin-RevId: 241492615 * Merged commit includes the following changes: 244073180 by Andre Araujo: Internal change -- 243646498 by Andre Araujo: Detect and save bounding boxes for a list of images. A new proto is added, along with auxiliary read/write functions, and tests. -- PiperOrigin-RevId: 244073180 * Merged commit includes the following changes: 244872693 by Andre Araujo: Small change. -- 244871213 by Andre Araujo: Small edit to DELF extractor function. -- 244790715 by Andre Araujo: internal automated change -- 244773146 by Andre Araujo: Add option to visualize extracted boxes, and change slightly model input. -- 244288992 by Andre Araujo: Script to cluster DELF features using K-means. -- 244275164 by Andre Araujo: Scripts to extract DELF features and boxes from Revisited Oxford/Paris datasets, used in Detect-to-Retrieve paper. -- PiperOrigin-RevId: 244872693 * Merged commit includes the following changes: PiperOrigin-RevId: 244876167 * Updates instructions to include new released models, instructions for DELF and detector extraction, etc. * Small fix * Merged commit includes the following changes: 244909336 by Andre Araujo: Update to DELF config example to use latest model. -- PiperOrigin-RevId: 244909336 * Revert "Merged commit includes the following changes:" This reverts commit f41be9f159330f62846d5d8b3d3d5d55cd1874f4. * Update delf_config_example model * Small edits to detection instructions * Specifying GLB location in README * Mention D2R code release in progress
-
- 29 Apr, 2019 1 commit
-
-
Igor authored
Replace per_device with per_replica and PerDevice with PerReplica, because the PerDevice concept was renamed and doesn't exist anymore. (#6693) * Replace per_device with per_replica and PerDevice with PerReplica, because the PerReplica concept was renamed and doesn't exist anymore.
-
- 26 Apr, 2019 1 commit
-
-
pkulzc authored
* Merged commit includes the following changes: 244869387 by Sergio Guadarrama: This CL adds script/code to generate Visual WakeWords Dataset annotation files and TF records starting from COCO dataset. -- 244866660 by Sergio Guadarrama: Add VisualWakeWords Dataset to Slim dataset_factory to train MobileNets on it. -- 244836000 by Sergio Guadarrama: n/a -- 244104396 by Sergio Guadarrama: Add an option whether to enable / disable image cropping in inception_preprocessing. -- 242040128 by Sergio Guadarrama: Internal change 241793677 by Sergio Guadarrama: Internal change 241073081 by Sergio Guadarrama: Internal change 240131189 by Sergio Guadarrama: Internal change PiperOrigin-RevId: 244869387 * Merged commit includes the following changes: 245431876 by Sergio Guadarrama: Internal cleanup -- PiperOrigin-RevId: 245431876 * Merged commit includes the following changes: 245454983 by Sergio Guadarrama: Internal Cleanup -- PiperOrigin-RevId: 245454983
-
- 24 Apr, 2019 2 commits
-
-
André Araujo authored
* Internal change. PiperOrigin-RevId: 185564155 * Fix small bug when reading DELF features when file is empty. A new test is added that catches this bug. PiperOrigin-RevId: 213839503 * Refactors DELF example code to expose a function to create a DELF feature extractor. PiperOrigin-RevId: 241492615 * Merged commit includes the following changes: 244073180 by Andre Araujo: Internal change -- 243646498 by Andre Araujo: Detect and save bounding boxes for a list of images. A new proto is added, along with auxiliary read/write functions, and tests. -- PiperOrigin-RevId: 244073180 * Merged commit includes the following changes: 244872693 by Andre Araujo: Small change. -- 244871213 by Andre Araujo: Small edit to DELF extractor function. -- 244790715 by Andre Araujo: internal automated change -- 244773146 by Andre Araujo: Add option to visualize extracted boxes, and change slightly model input. -- 244288992 by Andre Araujo: Script to cluster DELF features using K-means. -- 244275164 by Andre Araujo: Scripts to extract DELF features and boxes from Revisited Oxford/Paris datasets, used in Detect-to-Retrieve paper. -- PiperOrigin-RevId: 244872693 * Merged commit includes the following changes: PiperOrigin-RevId: 244876167 * Updates instructions to include new released models, instructions for DELF and detector extraction, etc. * Small fix * Merged commit includes the following changes: 244909336 by Andre Araujo: Update to DELF config example to use latest model. -- PiperOrigin-RevId: 244909336 * Revert "Merged commit includes the following changes:" This reverts commit f41be9f159330f62846d5d8b3d3d5d55cd1874f4. * Update delf_config_example model * Small edits to detection instructions * Specifying GLB location in README -
Yukun Zhu authored
* Update colab demo * fix typo
-
- 23 Apr, 2019 1 commit
-
-
Akash Paul authored
np.uint8 to np.int64 for detection class label index overflow when using OIDv4 labels
-
- 22 Apr, 2019 1 commit
-
-
Georg Wölflein authored
The evaluation crashes in python3 if iteritems() is used instead of items()
-
- 20 Apr, 2019 1 commit
-
-
Yukun Zhu authored
-
- 18 Apr, 2019 1 commit
-
-
André Araujo authored
* Internal change. PiperOrigin-RevId: 185564155 * Fix small bug when reading DELF features when file is empty. A new test is added that catches this bug. PiperOrigin-RevId: 213839503 * Refactors DELF example code to expose a function to create a DELF feature extractor. PiperOrigin-RevId: 241492615 * Merged commit includes the following changes: 244073180 by Andre Araujo: Internal change -- 243646498 by Andre Araujo: Detect and save bounding boxes for a list of images. A new proto is added, along with auxiliary read/write functions, and tests. -- PiperOrigin-RevId: 244073180
-
- 17 Apr, 2019 3 commits
-
-
Nat authored
1. In python3, dict.iteritems() is gone, change it to dict.items(). And it also doesn't treat zip object as a list, so change zip to list type. 2. Add encoding flag with open function to make it more compatible for Windows/Linux system. 3. For newer tensorflow, it expected int64 without giving a dtype parameter to embedding layer. We give it float32 to solve it.
-
Yongrae Jo authored
Dictionary's .iteritem() raises an error in Python3. Replaced it with iteritem from six library.
-
Jonathan Mitchell authored
-
- 08 Apr, 2019 1 commit
-
-
Barret Zoph authored
-
- 29 Mar, 2019 1 commit
-
-
Guo Yejun (郭叶军) authored
-
- 26 Mar, 2019 1 commit
-
-
auslaner authored
Added missing 's' character in "install". Added link to pyglet documentation.
-
- 22 Mar, 2019 1 commit
-
-
Adrian Boguszewski authored
-
- 21 Mar, 2019 2 commits
-
-
pkulzc authored
233991726 by Sergio Guadarrama: Internal change 231925959 by Sergio Guadarrama: Internal change 231253502 by Sergio Guadarrama: Internal change 229973546 by Sergio Guadarrama: Internal change 229870842 by Sergio Guadarrama: Internal change PiperOrigin-RevId: 233991726 -
mn-robot authored
-
- 07 Mar, 2019 2 commits
-
-
pkulzc authored
236813471 by lzc: Internal change. -- 236507310 by lzc: Fix preprocess.random_resize_method config type issue. The target height and width will be passed as "size" to tf.image.resize_images which only accepts integer. -- 236409989 by Zhichao Lu: Config export_to_tpu from function parameter instead of HParams for TPU inference. -- 236403186 by Zhichao Lu: Make graph file names optional arguments. -- 236237072 by Zhichao Lu: Minor bugfix for keyword args. -- 236209602 by Zhichao Lu: Add support for PartitionedVariable to get_variables_available_in_checkpoint. -- 235828658 by Zhichao Lu: Automatically stop evaluation jobs when training is finished. -- 235817964 by Zhichao Lu: Add an optional process_metrics_fn callback to eval_util, it gets called with evaluation results once each evaluation is complete. -- 235788721 by lzc: Fix yml file tf runtime version. -- 235262897 by Zhichao Lu: Add keypoint support to the random_pad_image preprocessor method. -- 235257380 by Zhichao Lu: Support InputDataFields.groundtruth_confidences in retain_groundtruth(), retain_groundtruth_with_positive_classes(), filter_groundtruth_with_crowd_boxes(), filter_groundtruth_with_nan_box_coordinates(), filter_unrecognized_classes(). -- 235109188 by Zhichao Lu: Fix bug in pad_input_data_to_static_shapes for num_additional_channels > 0; make color-specific data augmentation only touch RGB channels. -- 235045010 by Zhichao Lu: Don't slice class_predictions_with_background when add_background_class is false. -- 235026189 by lzc: Fix import in g3doc. -- 234863426 by Zhichao Lu: Added fixes in exporter to allow writing a checkpoint to a specified temporary directory. -- 234671886 by lzc: Internal Change. -- 234630803 by rathodv: Internal Change. -- 233985896 by Zhichao Lu: Add Neumann optimizer to object detection. -- 233560911 by Zhichao Lu: Add NAS-FPN object detection with Resnet and Mobilenet v2. -- 233513536 by Zhichao Lu: Export TPU compatible object detection model -- 233495772 by lzc: Internal change. -- 233453557 by Zhichao Lu: Create Keras-based SSD+MobilenetV1 for object detection. -- 233220074 by lzc: Update release notes date. -- 233165761 by Zhichao Lu: Support depth_multiplier and min_depth in _SSDResnetV1FpnFeatureExtractor. -- 233160046 by lzc: Internal change. -- 232926599 by Zhichao Lu: [tf.data] Switching tf.data functions to use `defun`, providing an escape hatch to continue using the legacy `Defun`. There are subtle differences between the implementation of `defun` and `Defun` (such as resources handling or control flow) and it is possible that input pipelines that use control flow or resources in their functions might be affected by this change. To migrate majority of existing pipelines to the recommended way of creating functions in TF 2.0 world, while allowing (a small number of) existing pipelines to continue relying on the deprecated behavior, this CL provides an escape hatch. If your input pipeline is affected by this CL, it should apply the escape hatch by replacing `foo.map(...)` with `foo.map_with_legacy_function(...)`. -- 232891621 by Zhichao Lu: Modify faster_rcnn meta architecture to normalize raw detections. -- 232875817 by Zhichao Lu: Make calibration a post-processing step. Specifically: - Move the calibration config from pipeline.proto --> post_processing.proto - Edit post_processing_builder.py to return a calibration function. If no calibration config is provided, it None. - Edit SSD and FasterRCNN meta architectures to optionally call the calibration function on detection scores after score conversion and before NMS. -- 232704481 by Zhichao Lu: Edit calibration builder to build a function that will be used within a detection model's `postprocess` method, after score conversion and before non-maxima suppression. Specific Edits: - The returned function now accepts class_predictions_with_background as its argument instead of detection_scores and detection_classes. - Class-specific calibration was temporarily removed, as it requires more significant refactoring. Will be added later. -- 232615379 by Zhichao Lu: Internal change -- 232483345 by ronnyvotel: Making the use of bfloat16 restricted to TPUs. -- 232399572 by Zhichao Lu: Edit calibration builder and proto to support class-agnostic calibration. Specifically: - Edit calibration protos to include path to relevant label map if required for class-specific calibration. Previously, label maps were inferred from other parts of the pipeline proto; this allows all information required by the builder stay within the calibration proto and remove extraneous information from being passed with class-agnostic calibration. - Add class-agnostic protos to the calibration config. Note that the proto supports sigmoid and linear interpolation parameters, but the builder currently only supports linear interpolation. -- 231613048 by Zhichao Lu: Add calibration builder for applying calibration transformations from output of object detection models. Specifically: - Add calibration proto to support sigmoid and isotonic regression (stepwise function) calibration. - Add a builder to support calibration from isotonic regression outputs. -- 231519786 by lzc: model_builder test refactor. - removed proto text boilerplate in each test case and let them call a create_default_proto function instead. - consolidated all separate ssd model creation tests into one. - consolidated all separate faster rcnn model creation tests into one. - used parameterized test for testing mask rcnn models and use_matmul_crop_and_resize - added all failures test. -- 231448169 by Zhichao Lu: Return static shape as a constant tensor. -- 231423126 by lzc: Add a release note for OID v4 models. -- 231401941 by Zhichao Lu: Adding correct labelmap for the models trained on Open Images V4 (*oid_v4 config suffix). -- 231320357 by Zhichao Lu: Add scope to Nearest Neighbor Resize op so that it stays in the same name scope as the original resize ops. -- 231257699 by Zhichao Lu: Switch to using preserve_aspect_ratio in tf.image.resize_images rather than using a custom implementation. -- 231247368 by rathodv: Internal change. -- 231004874 by lzc: Update documentations to use tf 1.12 for object detection API. -- 230999911 by rathodv: Use tf.batch_gather instead of ops.batch_gather -- 230999720 by huizhongc: Fix weight equalization test in ops_test. -- 230984728 by rathodv: Internal update. -- 230929019 by lzc: Add an option to replace preprocess operation with placeholder for ssd feature extractor. -- 230845266 by lzc: Require tensorflow version 1.12 for object detection API and rename keras_applications to keras_models -- 230392064 by lzc: Add RetinaNet 101 checkpoint trained on OID v4 to detection model zoo. -- 230014128 by derekjchow: This file was re-located below the tensorflow/lite/g3doc/convert -- 229941449 by lzc: Update SSD mobilenet v2 quantized model download path. -- 229843662 by lzc: Add an option to use native resize tf op in fpn top-down feature map generation. -- 229636034 by rathodv: Add deprecation notice to a few old parameters in train.proto -- 228959078 by derekjchow: Remove duplicate elif case in _check_and_convert_legacy_input_config_key -- 228749719 by rathodv: Minor refactoring to make exporter's `build_detection_graph` method public. -- 228573828 by rathodv: Mofity model.postprocess to return raw detections and raw scores. Modify, post-process methods in core/model.py and the meta architectures to export raw detection (without any non-max suppression) and raw multiclass score logits for those detections. -- 228420670 by Zhichao Lu: Add shims for custom architectures for object detection models. -- 228241692 by Zhichao Lu: Fix the comment on "losses_mask" in "Loss" class. -- 228223810 by Zhichao Lu: Support other_heads' predictions in WeightSharedConvolutionalBoxPredictor. Also remove a few unused parameters and fix a couple of comments in convolutional_box_predictor.py. -- 228200588 by Zhichao Lu: Add Expected Calibration Error and an evaluator that calculates the metric for object detections. -- 228167740 by lzc: Add option to use bounded activations in FPN top-down feature map generation. -- 227767700 by rathodv: Internal. -- 226295236 by Zhichao Lu: Add Open Image V4 Resnet101-FPN training config to third_party -- 226254842 by Zhichao Lu: Fix typo in documentation. -- 225833971 by Zhichao Lu: Option to have no resizer in object detection model. -- 225824890 by lzc: Fixes p3 compatibility for model_lib.py -- 225760897 by menglong: normalizer should be at least 1. -- 225559842 by menglong: Add extra logic filtering unrecognized classes. -- 225379421 by lzc: Add faster_rcnn_inception_resnet_v2_atrous_oid_v4 config to third_party -- 225368337 by Zhichao Lu: Add extra logic filtering unrecognized classes. -- 225341095 by Zhichao Lu: Adding Open Images V4 models to OD API model zoo and corresponding configs to the configs. -- 225218450 by menglong: Add extra logic filtering unrecognized classes. -- 225057591 by Zhichao Lu: Internal change. -- 224895417 by rathodv: Internal change. -- 224209282 by Zhichao Lu: Add two data augmentations to object detection: (1) Self-concat (2) Absolute pads. -- 224073762 by Zhichao Lu: Do not create tf.constant until _generate() is actually called in the object detector. -- PiperOrigin-RevId: 236813471 -
Yukun Zhu authored
* Internal changes PiperOrigin-RevId: 237183552 * update readme PiperOrigin-RevId: 237184584
-
- 06 Mar, 2019 1 commit
-
-
Rodrigo Laguna authored
* replace the usage of python's built in sort with numpy's argsort, which is faster. Also use the given axes to get the most_likely_words instead of calling enumerate and list (it's slower and more memory conssuming) * correct indentation and redaction on comment for the changes purposes according to cshallue's comment
-
- 28 Feb, 2019 1 commit
-
-
aquariusjay authored
-
- 27 Feb, 2019 2 commits
-
-
aquariusjay authored
Open-source FEELVOS model, which was developed by Paul Voigtlaender during his 2018 summer internship at Google. The work has been accepted to CVPR 2019. (#6274)
-
Adrian Boguszewski authored
* Fixed incorrect tensor * Replaced xrange with range for python3 compatibility
-
- 24 Feb, 2019 1 commit
-
-
huihui-personal authored
* \nRefactor deeplab to use MonitoredTrainingSession\n PiperOrigin-RevId: 234237190 * Update export_model.py * Update nas_cell.py * Update nas_network.py * Update train.py * Update deeplab_demo.ipynb * Update nas_cell.py
-
- 21 Feb, 2019 2 commits
-
-
chardch authored
This import from google3.third_party doesn't work.
-
Chris Tessum authored
This file was inadvertantly renamed in #6071.
-
- 11 Feb, 2019 1 commit
-
-
Chris Tessum authored
As discussed here: https://github.com/tensorflow/tensorflow/issues/11312, this change allows this script to work in Python 3.
-