- 03 Apr, 2018 21 commits
-
-
Zhichao Lu authored
PiperOrigin-RevId: 190688309
-
Zhichao Lu authored
PiperOrigin-RevId: 190682119
-
Zhichao Lu authored
Add warning if shuffle=false but num_readers > 1. The latter would cause the input data stream to still be shuffled. PiperOrigin-RevId: 190678792
-
Zhichao Lu authored
PiperOrigin-RevId: 190651873
-
Zhichao Lu authored
PiperOrigin-RevId: 190636417
-
Zhichao Lu authored
Cython is must installed package for building cocoapi. else the build will not initiate. PiperOrigin-RevId: 190553060
-
Zhichao Lu authored
Tfmini requires positive values for the dimensions. Therefore, we need to test for no paddings in both width and height direction. PiperOrigin-RevId: 190520529
-
Zhichao Lu authored
PiperOrigin-RevId: 190505306
-
Zhichao Lu authored
Switch line orders in trainer so that restore_map is called after moving average variables are created. Moving averages are now properly loaded during fine-tuning, instead of being recreated. PiperOrigin-RevId: 190496046
-
Zhichao Lu authored
PiperOrigin-RevId: 190292280
-
Zhichao Lu authored
PiperOrigin-RevId: 190115628
-
Zhichao Lu authored
PiperOrigin-RevId: 190098000
-
Zhichao Lu authored
The C API improves static shape inference, making more errors caught at graph construction time instead of runtime. PiperOrigin-RevId: 190095450
-
Zhichao Lu authored
PiperOrigin-RevId: 190068159
-
Zhichao Lu authored
PiperOrigin-RevId: 190002150
-
Zhichao Lu authored
PiperOrigin-RevId: 189997094
-
Zhichao Lu authored
PiperOrigin-RevId: 189933390
-
Zhichao Lu authored
PiperOrigin-RevId: 189929413
-
Zhichao Lu authored
PiperOrigin-RevId: 189815553
-
Zhichao Lu authored
Updating transform_input_data to resize original image. This is necessary for result_dict_for_single_example(), since it expects the input image and groundtruth masks to be of the same spatial dimensions. PiperOrigin-RevId: 189786443
-
Zhichao Lu authored
Enabling both train and eval image summaries. Note that eval summaries are not created tf-learn environment. To get them to show up, added the summary image into the eval_metric_ops. PiperOrigin-RevId: 189658259
-
- 22 Mar, 2018 1 commit
-
-
pkulzc authored
* Force cast of num_classes to integer PiperOrigin-RevId: 188335318 * Updating config util to allow overwriting of cosine decay learning rates. PiperOrigin-RevId: 188338852 * Make box_list_ops.py and box_list_ops_test.py work with C API enabled. The C API has improved shape inference over the original Python code. This causes some previously-working conds to fail. Switching to smart_cond fixes this. Another effect of the improved shape inference is that one of the failures tested gets caught earlier, so I modified the test to reflect this. PiperOrigin-RevId: 188409792 * Fix parallel event file writing issue. Without this change, the event files might get corrupted when multiple evaluations are run in parallel. PiperOrigin-RevId: 188502560 * Deprecating the boolean flag of from_detection_checkpoint. Replace with a string field fine_tune_checkpoint_type to train_config to provide extensibility. The fine_tune_checkpoint_type can currently take value of `detection`, `classification`, or others when the restore_map is overwritten. PiperOrigin-RevId: 188518685 * Automated g4 rollback of changelist 188502560 PiperOrigin-RevId: 188519969 * Introducing eval metrics specs for Coco Mask metrics. This allows metrics to be computed in tensorflow using the tf.learn Estimator. PiperOrigin-RevId: 188528485 * Minor fix to make object_detection/metrics/coco_evaluation.py python3 compatible. PiperOrigin-RevId: 188550683 * Updating eval_util to handle eval_metric_ops from multiple `DetectionEvaluator`s. PiperOrigin-RevId: 188560474 * Allow tensor input for new_height and new_width for resize_image. PiperOrigin-RevId: 188561908 * Fix typo in fine_tune_checkpoint_type name in trainer. PiperOrigin-RevId: 188799033 * Adding mobilenet feature extractor to object detection. PiperOrigin-RevId: 188916897 * Allow label maps to optionally contain an explicit background class with id zero. PiperOrigin-RevId: 188951089 * Fix boundary conditions in random_pad_to_aspect_ratio to ensure that min_scale is always less than max_scale. PiperOrigin-RevId: 189026868 * Fallback on from_detection_checkpoint option if fine_tune_checkpoint_type isn't set. PiperOrigin-RevId: 189052833 * Add proper names for learning rate schedules so we don't see cryptic names on tensorboard. PiperOrigin-RevId: 189069837 * Enforcing that all datasets are batched (and then unbatched in the model) with batch_size >= 1. PiperOrigin-RevId: 189117178 * Adding regularization to total loss returned from DetectionModel.loss(). PiperOrigin-RevId: 189189123 * Standardize the names of loss scalars (for SSD, Faster R-CNN and R-FCN) in both training and eval so they can be compared on tensorboard. Log localization and classification losses in evaluation. PiperOrigin-RevId: 189189940 * Remove negative test from box list ops test. PiperOrigin-RevId: 189229327 * Add an option to warmup learning rate in manual stepping schedule. PiperOrigin-RevId: 189361039 * Replace tf.contrib.slim.tfexample_decoder.LookupTensor with object_detection.data_decoders.tf_example_decoder.LookupTensor. PiperOrigin-RevId: 189388556 * Force regularization summary variables under specific family names. PiperOrigin-RevId: 189393190 * Automated g4 rollback of changelist 188619139 PiperOrigin-RevId: 189396001 * Remove step 0 schedule since we do a hard check for it after cl/189361039 PiperOrigin-RevId: 189396697 * PiperOrigin-RevId: 189040463 * PiperOrigin-RevId: 189059229 * PiperOrigin-RevId: 189214402 * Force regularization summary variables under specific family names. PiperOrigin-RevId: 189393190 * Automated g4 rollback of changelist 188619139 PiperOrigin-RevId: 189396001 * Make slim python3 compatible. * Monir fixes. * Add TargetAssignment summaries in a separate family. PiperOrigin-RevId: 189407487 * 1. Setting `family` keyword arg prepends the summary names twice with the same name. Directly adding family suffix to the name gets rid of this problem. 2. Make sure the eval losses have the same name. PiperOrigin-RevId: 189434618 * Minor fixes to make object detection tf 1.4 compatible. PiperOrigin-RevId: 189437519 * Call the base of mobilenet_v1 feature extractor under the right arg scope and set batchnorm is_training based on the value passed in the constructor. PiperOrigin-RevId: 189460890 * Automated g4 rollback of changelist 188409792 PiperOrigin-RevId: 189463882 * Update object detection syncing. PiperOrigin-RevId: 189601955 * Add an option to warmup learning rate, hold it constant for a certain number of steps and cosine decay it. PiperOrigin-RevId: 189606169 * Let the proposal feature extractor function in faster_rcnn meta architectures return the activations (end_points). PiperOrigin-RevId: 189619301 * Fixed bug which caused masks to be mostly zeros (caused by detection_boxes being in absolute coordinates if scale_to_absolute=True. PiperOrigin-RevId: 189641294 * Open sourcing Mobilenetv2 + SSDLite. PiperOrigin-RevId: 189654520 * Remove unused files.
-
- 19 Mar, 2018 1 commit
-
-
Andrew Selle authored
-
- 08 Mar, 2018 6 commits
-
-
Zhichao Lu authored
PiperOrigin-RevId: 188251743
-
Zhichao Lu authored
PiperOrigin-RevId: 188246588
-
Zhichao Lu authored
Add FAQ to object detection and replace tf.contrib.slim.tfexample_decoder.BackupHandler with object_detection.data_decoders.tf_example_decoder.BackupHandler. PiperOrigin-RevId: 188191275
-
Zhichao Lu authored
PiperOrigin-RevId: 188061451
-
Zhichao Lu authored
PiperOrigin-RevId: 187941168
-
Zhichao Lu authored
Modify the preprocessor proto and preprocessor_builder to match the arguments of the ssd_random_crop_pad_fixed_aspect_ratio preprocessor method. PiperOrigin-RevId: 187877915
-
- 04 Mar, 2018 8 commits
-
-
Zhichao Lu authored
PiperOrigin-RevId: 187744580
-
Zhichao Lu authored
PiperOrigin-RevId: 187693682
-
Zhichao Lu authored
PiperOrigin-RevId: 187677107
-
Zhichao Lu authored
Replace the kernel error message with op error message. https://github.com/tensorflow/tensorflow/pull/16890 added a new check in the op. PiperOrigin-RevId: 187665000
-
Zhichao Lu authored
PiperOrigin-RevId: 187527188
-
Zhichao Lu authored
PiperOrigin-RevId: 187432991
-
Zhichao Lu authored
Updating trainer so that train config parameter `load_all_detection_checkpoint_vars` is used in restore_map. PiperOrigin-RevId: 187403903
-
Zhichao Lu authored
PiperOrigin-RevId: 187397387
-
- 27 Feb, 2018 1 commit
-
-
Zhichao Lu authored
187187978 by Zhichao Lu: Only updating hyperparameters if they have non-null values. -- 187097690 by Zhichao Lu: Rewrite some conditions a bit more clearly. -- 187085190 by Zhichao Lu: More informative error message. -- 186935376 by Zhichao Lu: Added option to evaluator.evaluate to use custom evaluator objects. -- 186808249 by Zhichao Lu: Fix documentation re: number of stages. -- 186775014 by Zhichao Lu: Change anchor generator interface to return a list of BoxLists containing anchors for different feature map layers. -- 186729028 by Zhichao Lu: Minor fixes to object detection. -- 186723716 by Zhichao Lu: Fix tf_example_decoder.py initailization issue. -- 186668505 by Zhichao Lu: Remove unused import. -- 186475361 by Zhichao Lu: Update the box predictor interface to return list of predictions - one from each feature map - instead of stacking them into one large tensor. -- 186410844 by Zhichao Lu: Fix PythonPath Dependencies. -- 186365384 by Zhichao Lu: Made some of the functions in exporter public so they can be reused. -- 186341438 by Zhichao Lu: Re-introducing check that label-map-path must be a valid (non-empty) string prior to overwriting pipeline config. -- 186036984 by Zhichao Lu: Adding default hyperparameters and allowing for overriding them via flags. -- 186026006 by Zhichao Lu: Strip `eval_` prefix from name argument give to TPUEstimator.evaluate since it adds the same prefix internally. -- 186016042 by Zhichao Lu: Add an option to evaluate models on training data. -- 185944986 by Zhichao Lu: let _update_label_map_path go through even if the path is empty -- 185860781 by Zhichao Lu: Add random normal initializer option to hyperparams builder. Scale the regression losses outside of the box encoder by adjusting huber loss delta and regression loss weight. -- 185846325 by Zhichao Lu: Add an option to normalize localization loss by the code size(number of box coordinates) in SSD Meta architecture. -- 185761217 by Zhichao Lu: Change multiscale_grid_anchor_generator to return anchors in normalized coordinates by default and add option to configure it. In SSD meta architecture, TargetAssigner operates in normalized coordinate space (i.e, groundtruth boxes are in normalized coordinates) hence we need the option to generate anchors in normalized coordinates. -- 185747733 by Zhichao Lu: Change the smooth L1 localization implementationt to use tf.losses.huber_loss and expose the delta parameter in the proto. -- 185715309 by Zhichao Lu: Obviates the need for prepadding on mobilenet v1 and v2 for fully convolutional models. -- 185685695 by Zhichao Lu: Fix manual stepping schedule to return first rate when there are no boundaries -- 185621650 by Zhichao Lu: Added target assigner proto for configuring negative class weights. -- PiperOrigin-RevId: 187187978
-
- 19 Feb, 2018 1 commit
-
-
Michael Gruben-Trejo authored
Previously, code block one attempted to import `from object_detection.utils` before the `object_detection` directory was added to the PythonPath via `sys.path.append("..")`. This generated a `ModuleNotFoundError`. Accordingly, append `".."` to the PythonPath before attempting to import from `object_detection` as a module, instead of after.
-
- 14 Feb, 2018 1 commit
-
-
Zhichao Lu authored
PiperOrigin-RevId: 185555440
-