1. 26 May, 2020 1 commit
    • pkulzc's avatar
      Release MobileDet code and model, and require tf_slim installation for OD API. (#8562) · 451906e4
      pkulzc authored
      * Merged commit includes the following changes:
      311933687  by Sergio Guadarrama:
      
          Removes spurios use of tf.compat.v2, which results in spurious tf.compat.v1.compat.v2. Adds basic test to nasnet_utils.
          Replaces all remaining import tensorflow as tf with import tensorflow.compat.v1 as tf
      
      --
      311766063  by Sergio Guadarrama:
      
          Removes explicit tf.compat.v1 in all call sites (we already import tf.compat.v1, so this code was  doing tf.compat.v1.compat.v1). The existing code worked in latest version of tensorflow, 2.2, (and 1.15) but not in 1.14 or in 2.0.0a, this CL fixes it.
      
      --
      311624958  by Sergio Guadarrama:
      
          Updates README that doesn't render properly in github documentation
      
      --
      310980959  by Sergio Guadarrama:
      
          Moves research_models/slim off tf.contrib.slim/layers/framework to tf_slim
      
      --
      310263156  by Sergio Guadarrama:
      
          Adds model breakdown for MobilenetV3
      
      --
      308640...
      451906e4
  2. 22 Jan, 2020 1 commit
    • Mark Sandler's avatar
      Merged commit includes the following changes: (#8077) · d4eedbb9
      Mark Sandler authored
      
      
      Internal cleanup (py2->py3) plus the following changes:
      
      285513318  by Sergio Guadarrama:
      
          Adds a script for post-training quantization
      
      284222305  by Sergio Guadarrama:
      
          Modified squeeze-excite operation to accommodate tensors of undefined (Nonetype) H/W.
      
      282028343  by Sergio Guadarrama:
      
          Add MobilenetV3 and MobilenetEdgeTPU to the slim/nets_factory.
      
      PiperOrigin-RevId: 289455329
      Co-authored-by: default avatarSergio Guadarrama <sguada@gmail.com>
      d4eedbb9
  3. 12 Nov, 2019 1 commit
    • Mark Sandler's avatar
      Merged commit includes the following changes: (#7797) · ba87e2c6
      Mark Sandler authored
      279978375  by Sergio Guadarrama:
      
          Pass s=2 to the expanded_conv block so it can apply residual correctly in case of fused convolutions.  (Before it was relying on channel mismatch only)
      
      --
      279788358  by Sergio Guadarrama:
      
          Update README to add mobilenet-edgetpu details
      
      --
      279774392  by Sergio Guadarrama:
      
          Adds MobilenetV3-EdgeTpu definition.
      
      --
      278917344  by Sergio Guadarrama:
      
          Create visualwakewords dataset using slim scripts instead of custom scripts.
      
      --
      277940048  by Sergio Guadarrama:
      
          Internal changes to tf.contrib symbols
      
      --
      
      PiperOrigin-RevId: 279978375
      ba87e2c6
  4. 21 Oct, 2019 1 commit
    • pkulzc's avatar
      Merged commit includes the following changes: (#7690) · 6766e6dd
      pkulzc authored
      275538818  by Sergio Guadarrama:
      
          Support grayscale input images in Slim model training
      
      --
      275355841  by Sergio Guadarrama:
      
          Fixed cases where tf.TensorShape was constructed with float dimensions
      
          This is a prerequisite for making TensorShape and Dimension more strict
          about the types of their arguments.
      
      --
      275131829  by Sergio Guadarrama:
      
          updates mobilenet/README.md to be github compatible adds V2+ reference to mobilenet_v1.md file and fixes invalid markdown
      
      --
      
      PiperOrigin-RevId: 275538818
      6766e6dd
  5. 26 Apr, 2019 1 commit
    • pkulzc's avatar
      Add VisualWakeWords Dataset to Slim dataset_factory (#6661) · 67c403fc
      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
      67c403fc
  6. 26 Jul, 2018 1 commit
    • Chenxi Liu's avatar
      Internal changes including PNASNet-5 mobile (#4895) · 696b69a4
      Chenxi Liu authored
      * PiperOrigin-RevId: 201234832
      
      * PiperOrigin-RevId: 202507333
      
      * PiperOrigin-RevId: 204320344
      
      * Add PNASNet-5 mobile network model and cell structure.
      
      PiperOrigin-RevId: 204735410
      
      * Add option to customize individual projection layer activation.
      
      PiperOrigin-RevId: 204776951
      696b69a4
  7. 23 Mar, 2018 1 commit
  8. 13 Mar, 2018 2 commits
    • Mark Sandler's avatar
      Pulling internal changes to github (#3583) · 376dc8dd
      Mark Sandler authored
      * Internal change.
      
      PiperOrigin-RevId: 187042423
      
      * Internal change.
      
      PiperOrigin-RevId: 187072380
      
      * Opensource float and eight-bit fixed-point mobilenet_v1 training and eval scripts.
      
      PiperOrigin-RevId: 187106140
      
      * Initial check-in for Mobilenet V2
      
      PiperOrigin-RevId: 187213595
      
      * Allow configuring batch normalization decay and epsilon in MobileNet v1
      
      PiperOrigin-RevId: 187425294
      
      * Allow overriding NASNet model HParams.
      
      This is a change to the API that will allow users to pass in their own configs
      to the building functions, which should make these APIs much more customizable
      for end-user cases.
      
      This change removes the use_aux_head argument from the model construction
      functions, which is no longer necessary given that the use_aux_head option is
      configurable in the model config. For example, for the mobile ImageNet model,
      the auxiliary head can be disabled using:
      
      config = nasnet.mobile_imagenet_config()
      config.set_hparam('use_aux_head', 0)
      logits, endpoints = nasnet.build_nasnet_mobile(
          inputs, num_classes, config=config)
      PiperOrigin-RevId: 188617685
      
      * Automated g4 rollback of changelist 188617685
      
      PiperOrigin-RevId: 188619139
      
      * Removes spurious comment
      376dc8dd
    • supercourage's avatar
      Fix comment typos under models/research · 94be38c7
      supercourage authored
      Some python files under models/research, it is wrong to use "Rather then" instead of "Rather than" in  comments.
      94be38c7
  9. 27 Feb, 2018 1 commit
    • pkulzc's avatar
      Internal changes for slim (#3448) · 629adffa
      pkulzc authored
      * Merged commit includes the following changes:
      186565198  by Sergio Guadarrama:
      
          Applied random_hsv_in_yiq in inception_preprocessing.
      
      --
      186501039  by Sergio Guadarrama:
      
          Applied random_hsv_in_yiq in inception_preprocessing.
      
      --
      186013907  by Sergio Guadarrama:
      
          Internal change
      
      185715309  by Sergio Guadarrama:
      
          Obviates the need for prepadding on mobilenet v1 and v2 for fully convolutional models.
      
      --
      184266252  by Sergio Guadarrama:
      
          Give build_nasnet_*() functions an optional flag use_aux_head,
          and add an internal-only arg scope to NasNetA*Cell._apply_drop_path().
      
      --
      183865228  by Sergio Guadarrama:
      
          Internal change
      
      179580924  by Sergio Guadarrama:
      
          Internal change
      
      177320302  by Sergio Guadarrama:
      
          Internal change
      
      177130184  by Sergio Guadarrama:
      
          Make slim nets tests faster by using smaller examples of oversized inputs.
      
      --
      176965289  by Sergio Guadarrama:
      
          Internal change
      
      176585260  by Sergio Guadarrama:
      
          Internal change
      
      176534973  by Sergio Guadarrama:
      
          Internal change
      
      175526881  by Sergio Guadarrama:
      
          Internal change
      
      174967704  by Sergio Guadarrama:
      
          Treat num_classes=0 same as None in a few slim nets overlooked by the recent
          change.
      
      --
      174443227  by Sergio Guadarrama:
      
          Internal change
      
      174281864  by Sergio Guadarrama:
      
          Internal change
      
      174249903  by Sergio Guadarrama:
      
          Fix nasnet image classification and object detection by moving the option to turn ON or OFF batch norm training into it's own arg_scope used only by detection
      
      --
      173954505  by Sergio Guadarrama:
      
          Merge pull request #2651 from sguada/tmp1
      
          Fixes imports
      
          Closes #2636
      
          ORIGINAL_AUTHOR=Jon Shlens <shlens@users.noreply.github.com>
          COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/models/pull/2636 from tensorflow:sguada-patch-1 19ff570f52df5ab655c00fb439129b201c5f2dce
      
      --
      173928094  by Sergio Guadarrama:
      
          Remove pending imports
      
      --
      
      PiperOrigin-RevId: 186565198
      
      * Remove internal links.
      629adffa
  10. 28 Oct, 2017 1 commit
  11. 21 Sep, 2017 1 commit