- 31 May, 2019 1 commit
-
-
pkulzc authored
250447559 by Zhichao Lu: Update expected files format for Instance Segmentation challenge: - add fields ImageWidth, ImageHeight and store the values per prediction - as mask, store only encoded image and assume its size is ImageWidth x ImageHeight -- 250402780 by rathodv: Fix failing Mask R-CNN TPU convergence test. Cast second stage prediction tensors from bfloat16 to float32 to prevent errors in third target assignment (Mask Prediction) - Concat with different types bfloat16 and bfloat32 isn't allowed. -- 250300240 by Zhichao Lu: Addion Open Images Challenge 2019 object detection and instance segmentation support into Estimator framework. -- 249944839 by rathodv: Modify exporter.py to add multiclass score nodes in exported inference graphs. -- 249935201 by rathodv: Modify postprocess methods to preserve multiclass scores after non max suppression. -- 249878079 by Zhichao Lu: This CL slightly refactors some Object Detection helper functions for data creation, evaluation, and groundtruth providing. This will allow the eager+function custom loops to share code with the existing estimator training loops. Concretely we make the following changes: 1. In input creation we separate dataset-creation into top-level helpers, and allow it to optionally accept a pre-constructed model directly instead of always creating a model from the config just for feature preprocessing. 2. In coco evaluation we split the update_op creation into its own function, which the custom loops will call directly. 3. In model_lib we move groundtruth providing/ datastructure munging into a helper function 4. For now we put an escape hatch in `_summarize_target_assignment` when executing in tf v2.0 behavior because the summary apis used only work w/ tf 1.x -- 249673507 by rathodv: Use explicit casts instead of tf.to_float and tf.to_int32 to avoid warnings. -- 249656006 by Zhichao Lu: Add named "raw_keypoint_locations" node that corresponds with the "raw_box_locations" node. -- 249651674 by rathodv: Keep proposal boxes in float format. MatMulCropAndResize can handle the type even when feature themselves are bfloat16s. -- 249568633 by rathodv: Support q > 1 in class agnostic NMS. Break post_processing_test.py into 3 separate files to avoid linter errors. -- 249535530 by rathodv: Update some deprecated arguments to tf ops. -- 249368223 by rathodv: Modify MatMulCropAndResize to use MultiLevelRoIAlign method and move the tests to spatial_transform_ops.py module. This cl establishes that CropAndResize and RoIAlign are equivalent and only differ in the sampling point grid within the boxes. CropAndResize uses a uniform size x size point grid such that the corner points exactly overlap box corners, while RoiAlign divides boxes into size x size cells and uses their centers as sampling points. In this cl, we switch MatMulCropAndResize to use the MultiLevelRoIAlign implementation with `align_corner` option as MultiLevelRoIAlign implementation is more memory efficient on TPU when compared to the original MatMulCropAndResize. -- 249337338 by chowdhery: Add class-agnostic non-max-suppression in post_processing -- 249139196 by Zhichao Lu: Fix positional argument bug in export_tflite_ssd_graph -- 249120219 by Zhichao Lu: Add evaluator for computing precision limited to a given recall range. -- 249030593 by Zhichao Lu: Evaluation util to run segmentation and detection challenge evaluation. -- 248554358 by Zhichao Lu: This change contains the auxiliary changes required for TF 2.0 style training with eager+functions+dist strat loops, but not the loops themselves. It includes: - Updates to shape usage to support both tensorshape v1 and tensorshape v2 - A fix to FreezableBatchNorm to not override the `training` arg in call when `None` was passed to the constructor (Not an issue in the estimator loops but it was in the custom loops) - Puts some constants in init_scope so they work in eager + functions - Makes learning rate schedules return a callable in eager mode (required so they update when the global_step changes) - Makes DetectionModel a tf.module so it tracks variables (e.g. ones nested in layers) - Removes some references to `op.name` for some losses and replaces it w/ explicit names - A small part of the change to allow the coco evaluation metrics to work in eager mode -- 248271226 by rathodv: Add MultiLevel RoIAlign op. -- 248229103 by rathodv: Add functions to 1. pad features maps 2. ravel 5-D indices -- 248206769 by rathodv: Add utilities needed to introduce RoI Align op. -- 248177733 by pengchong: Internal changes -- 247742582 by Zhichao Lu: Open Images Challenge 2019 instance segmentation metric: part 2 -- 247525401 by Zhichao Lu: Update comments on max_class_per_detection. -- 247520753 by rathodv: Add multilevel crop and resize operation that builds on top of matmul_crop_and_resize. -- 247391600 by Zhichao Lu: Open Images Challenge 2019 instance segmentation metric -- 247325813 by chowdhery: Quantized MobileNet v2 SSD FPNLite config with depth multiplier 0.75 -- PiperOrigin-RevId: 250447559
-
- 29 May, 2019 1 commit
-
-
Marvin Teichmann authored
* Put all python dependencies into one line. This makes it easier to copy, paste & install all dependencies at once. In addition many users have custom setups (virtualenv, conda, .etc). Having it in one line easily allows to grap the dependencies. * Remove 'sudo' from all pip install commands and adjust troubleshooting section.
-
- 28 May, 2019 1 commit
-
-
Marvin Teichmann authored
The ".mat" files loaded in the dataset are byte files. Python 3.7 requires them to be loaded using "rb".
-
- 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 Zh... -
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: 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. * Small updates to markdown instructions * Small updates to markdown instructions 2 -
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
-