Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge NN (tf2.1) #330

Merged
merged 289 commits into from
Mar 19, 2020
Merged

Merge NN (tf2.1) #330

merged 289 commits into from
Mar 19, 2020
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 5, 2020

  1. Add instance cropping transformer.

    - Agnostic to centroid calculation method.
    - Propagates all frame example metadata to individual instance examples.
    - Tests for coordinate transformations correctness, especially for
      tricky bounding box and cropping calculations.
    talmo committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    a781060 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. Add confidence map generation transformers.

    - Low level confidence map generation functions
    - Multi-instance confidence map generator
    - Multi-instance centroid confidence map generator
    - Instance-cropped center instance confidence map generator
    - Instance-cropped all instance confidence map generator
    - Tests
    talmo committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    7579d23 View commit details
    Browse the repository at this point in the history
  2. Store raw image size in examples generated by data providers.

    - Useful for downstream processing that affects shape.
    talmo committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    14a8230 View commit details
    Browse the repository at this point in the history
  3. Rename instance cropping image size to "full_image_*"

    - "Full" to indicate it refers to the input to the instance cropper,
      which may have been modified relative to the "raw" image, e.g., due to
      padding/scaling.
    - Rename attribute `drop_full_image` to `keep_full_image`
    talmo committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    7763cdd View commit details
    Browse the repository at this point in the history
  4. Modified the "scale" key to a 2-tuple indicating the x- and y-scaling.

    - The general expectation is that points in individual examples are
      already on the image grid scale.
    - The "scale" key can be used to track scaling operations, including
      aspect ratio changes. This information is sufficient to map points on
      example images/confidence maps to the raw images.
    - Commented scaling behavior across pipeline modules.
    - Changed behavior of `MultiConfidenceMaps` to compute confidence maps
      on the current image grid under the assumption that the "instances"
      key is at the same scale as the "image".
    talmo committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    0499e98 View commit details
    Browse the repository at this point in the history
  5. Initial data normalization method implementations.

    - Documented the normalization modes expected when using different
      pretrained models from tf.keras.applications.
    - Still needs tests and a transformer block class.
    talmo committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    e705862 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3e2c68a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    23057ed View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Configuration menu
    Copy the full SHA
    2380b47 View commit details
    Browse the repository at this point in the history
  2. Resizing transformers module

    talmo committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    cbcbde5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8f9cb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. Configuration menu
    Copy the full SHA
    79d2632 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a49b73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d5cadc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e12702 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80422dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bdb6263 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Fix expand_to_rank when rank is higher than the target.

    - Add test.
    talmo committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    3f66b4c View commit details
    Browse the repository at this point in the history
  2. Edge maps transformers module.

    - Implements edge confidence maps; equivalent of part confidence maps
      where scalar values are scaled by the distance of the sampling grid
      points to the line segment formed by edges.
    - Implement part affinity fields as simple unit vectors weighted by the
      edge confidence maps for masking.
    talmo committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    e6362d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3106934 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    41e3c43 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'develop' into nn

    talmo committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    2407151 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8bb36b9 View commit details
    Browse the repository at this point in the history
  7. Remove debugging comments

    talmo committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    58d134a View commit details
    Browse the repository at this point in the history
  8. Add Normalizer transformer

    talmo committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    747c901 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a88ae41 View commit details
    Browse the repository at this point in the history
  10. Add Resizer transformer

    talmo committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    a296f21 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    91a38b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    278b15d View commit details
    Browse the repository at this point in the history
  2. Dataset operations transformers module

    - Transformers that operate over multiple elements of the data:
        - Shuffler
        - Batcher (this one is tricky with variable length elements)
        - Prefetcher
    talmo committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    f624e57 View commit details
    Browse the repository at this point in the history
  3. Add initial generic pipelines for generating training data.

    - BottomUpPipeline: for building standard multi-confmap + PAF pipelines
    - TopDownPipeline: for building standard instance cropped pipelines
    talmo committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    6ba0a62 View commit details
    Browse the repository at this point in the history
  4. Fix truncation rounding error during instance cropping.

    - float32 precision sometimes results in bounding box sizes that are
      #.9997, which can result in an incorrect crop, even though the
      centered bounding boxes are created with exact dimensions.
    talmo committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    b71be9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a9662d7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3784cc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eaff014 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    521559c View commit details
    Browse the repository at this point in the history
  9. Create Preloader transformer.

    - Loads elements of the pipeline at creation time rather than during
      execution. This is a workaround to weird thread safety issues with
      using Labels as a provider during training.
    talmo committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    c120486 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Fix stochastic deadlocks in tf.py_functions.

    - These resulted random hangs during training that could not be
      interrupted via SIGINT or otherwise.
    - Solution was to remove TF ops from inside py_functions in the data
      pipeline.
    - Interesting side effect is a big performance speedup.
    - See: tensorflow/tensorflow#32454
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    613c201 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ccf5d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a4ea16 View commit details
    Browse the repository at this point in the history
  4. Tests for dataset_ops

    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    9ba4d25 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83891cf View commit details
    Browse the repository at this point in the history
  6. Added example_indices attribute to providers.

    - Replaces the `ds_index` argument to the `make_dataset` method
    - Allows for flexible specification of subsets of the data to be used
      without having to create new source data objects (e.g., sleap.Labels).
      This makes it easier to read subsets of videos or to split the labels
      for train/val/test sets.
    - Examples generated by `LabelsReader` now include an "example_ind" key
      to indicate the index of the example within the original data.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    561e95f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    74bc2c9 View commit details
    Browse the repository at this point in the history
  8. Initial nn.config implementation.

    - This contains simple attr attribute classes with all user-facing
      configuration options related to training.
    - This supersedes the previous TrainingJob class and should contain all
      serializable job-related parameters.
    - Functional modules should be able to be instantiated from these, but
      can be decoupled in the actual implementation.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    507a051 View commit details
    Browse the repository at this point in the history
  9. Pipeline attributes default to empty lists.

    - This is necessary to build partial pipelines without providers.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    ae1c555 View commit details
    Browse the repository at this point in the history
  10. Instance cropping from config.

    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    d91865d View commit details
    Browse the repository at this point in the history
  11. Instance cropping formatting.

    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    0637835 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    44d2cf1 View commit details
    Browse the repository at this point in the history
  13. Basic pipeline concatenation

    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    74e0391 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ac59f24 View commit details
    Browse the repository at this point in the history
  15. Normalizer from config

    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    53d538b View commit details
    Browse the repository at this point in the history
  16. Resizing from config

    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    0d2ec0c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    10d8427 View commit details
    Browse the repository at this point in the history
  18. Major nn refactor in preparation for new Model/ModelConfig classes

    - Cleaned up nn.architectures to remove architectures that need major
      updating before they can be ported, removed unused utility functions.
    - We'll port in the deleted architectures from other branches when we're
      ready, but in the meanwhile they can't be used without major rewrites.
    - Exception: hrnet module which is not pretrained and will require minor
      adjustments to fit new format.
    - Replace old nn.model module with nn.model_config
    - Removed PreprocessingConfig from nn.model since that's covered
      elsewhere in nn.config.DataConfig.
    - Removed preprocessing-related args from legacy classmethod builders in
      ModelConfig.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    7323963 View commit details
    Browse the repository at this point in the history
  19. Add attribute for specifying UNet stem kernel size.

    - Useful for increasing receptive field without adding more blocks.
    - Defaults still match the canonical architecture and tests.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    3fe10d7 View commit details
    Browse the repository at this point in the history
  20. Split nn.config.py into submodules for legibility + initial ModelConfig

    - Config sections now sit in their own submodules, but the syntax is the
      same since all config classes are imported in nn/config/__init__.py.
    - Initial implementation of ModelConfig. Totally decoupled from previous
      Model/ModelConfig implementations.
    - High level architecture parameters are now explicitly specified for
      each architecture and "oneof"-style options will just be specified by
      having different attributes which validators can check for mutual
      exclusivity. This should make it easier to serialize into more
      readable json as opposed to the old system of specifying the class
      name and doing some voodoo to construct the correct one.
    - This decoupling comes at the cost of reduced flexibility in model
      customization (though this can overcome with "generic" model configs
      like EncoderDecoder), as well as requiring manual specification of
      parameters for each architecture.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    248ecb1 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ba205d8 View commit details
    Browse the repository at this point in the history
  22. Implement oneof decorator to enforce mutual exclusivity

    - This achieves validation to enforce the behavior desired for the
      mutually-exclusive attribute classes.
    - Classes decorated with `attr.s` and `oneof` will raise an error if
      more than one attribute is set to not None when instantiated.
    talmo committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    7f1f67c View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. Configuration menu
    Copy the full SHA
    1de72cd View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Configuration menu
    Copy the full SHA
    88ec80f View commit details
    Browse the repository at this point in the history
  2. LEAP from config

    talmo committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    893758c View commit details
    Browse the repository at this point in the history
  3. Hourglass from config

    talmo committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    9845738 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    946310a View commit details
    Browse the repository at this point in the history
  5. ResNet from config

    talmo committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    70b139f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    160d8db View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    922cb6f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cf3cdf3 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Refactor nn.heads and nn.model

    - classmethods for instantiation from config classes
    - Moved old modules to *_legacy.py until TrainingJob conversion is done
    - Several tweaks to configs
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    67286bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f683c46 View commit details
    Browse the repository at this point in the history
  3. Add global structuring hooks for sleap.Skeleton

    - This allows for (un)structuring instances without needing to write
      any extra code for instances nested in larger attrs classes.
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    0fc1260 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    252c9ff View commit details
    Browse the repository at this point in the history
  5. Add profile_graph to TensorBoard configuration.

    - Removed part_metrics since this will always be enabled.
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    da8a050 View commit details
    Browse the repository at this point in the history
  6. Create nn.losses module for custom losses/metrics

    - Created standalone OHKM loss computation function for easier testing.
    - Added heuristics for ratio-based dynamic hard keypoint detection.
    - Fix default OHKM ratio config (should be >1)
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    9aa3b24 View commit details
    Browse the repository at this point in the history
  7. Created initial transformer classes for inference

    - KerasModelPredictor supports multi-input/output and runs extremely
      fast on GPU (but the device can be set at the class-level).
    - Refactored global peak finding to return coordinates in points format
      and apply thresholding before returning.
    - GlobalPeakFinder transformer for generic peak finding on any confmaps
      key with stride adjustment.
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    458e1f9 View commit details
    Browse the repository at this point in the history
  8. Instance crop size estimation utility function

    - Should probably get moved somewhere else when nn is cleaned up
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    ec33486 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a7902cd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c579480 View commit details
    Browse the repository at this point in the history
  11. Initial nn.training module refactoring

    - Moved old training module to *_legacy.py for now
    - Added several generic builder functions. These will likely be replaced
      by the TrainingJob/Trainer classes, but writing them out now to get a
      sense of where we need coupling.
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    dd5dcde View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    75d8718 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c3d7071 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3676206 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aa03885 View commit details
    Browse the repository at this point in the history
  16. Fix UNet stem construction

    - Previously the first stem block started with a max pooling directly on
      the input layer
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    1fcd217 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5cd954c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    77c5345 View commit details
    Browse the repository at this point in the history
  19. Bug fixes in KeyMapper and enforcement of static shapes

    - Should probably look into this issue more closely since it breaks
      dynamic shaped inputs (could be an issue for multi-instance
      inference potentially?)
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    1800f27 View commit details
    Browse the repository at this point in the history
  20. Implement data pipelines for the 3 major model types

    - Implements several versions of each pipeline:
      - base_pipeline: Fetches input data with no optimization. Useful for
          composing with other pipelines and for quick inspection.
      - training_pipeline: Generates examples with all data structures
          needed for training. Uses optimizations to minimize I/O latency
          across iterations like preloading/prefetching. Applies data
          augmentation and shuffling.
      - viz_pipeline: Produces minimal examples necessary for generating
          visualizations of predictions during training. Necessarily, this
          implements basic inference, but does not have some optimizations
          that a full inference pipeline might benefit from.
    - Lots of repetition but keeping it as-is for now for flexibility
    talmo committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    33055cc View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    4e46634 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    00bbe94 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. Configuration menu
    Copy the full SHA
    8d56729 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0996d1 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Add OptionalSpinWidget for optional int/doubles.

    If field type is optional_int (optional_double), then we'll show
    a widget with a spin box (for int or double) and a checkbox to
    disable the spin box. Box is checked iff field value is None.
    ntabris committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    7a6e8b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d798457 View commit details
    Browse the repository at this point in the history
  3. Add TextOrListWidget for text/list widget.

    If options are set then will show as a list (i.e., QComboBox),
    otherwise will be a text field (i.e., QLineEdit).
    ntabris committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    5e24385 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. Misc changes to FormBuilder

    - support for "text" field type
    - for optional field types, return specified string for val when None
    - add set_field_enabled method
    - emit valueChanged when fields in StackBuilderWidget changed
    ntabris committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    44b1c45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8502a24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5a006a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a31425 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7aee059 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94d1780 View commit details
    Browse the repository at this point in the history
  7. Add visualization utilities

    talmo committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    9c65ff7 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2020

  1. Visualization fixes

    - Squeeze singleton image channel (grayscale)
    - Explicit control of paired peak line plotting
    - Formatting
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    3ddc173 View commit details
    Browse the repository at this point in the history
  2. Add docstrings to nn.model and expose keras model as attribute.

    - Now Model.make_model(...) also sets that instance's keras_model
      attribute for convenience.
    - Class method constructor from config can optionally update the input
      config object with argument or inferred data.
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    4cc7949 View commit details
    Browse the repository at this point in the history
  3. Add serialization/deserialization helper methods to TrainingJobConfig.

    - Need to re-implement the legacy format parser when unstructuring.
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    67884c1 View commit details
    Browse the repository at this point in the history
  4. nn.training.Trainer implementation.

    - Handles centroids, topdown and multi-instance model types.
    - Output type specific trainers: CentroidConfmapsModelTrainer,
      TopdownConfmapsModelTrainer, BottomUpModelTrainer
    - CLI with behavior mostly equivalent to old format. Run path should be
      fully specified since it'll be harder to parse from stdout.
    - Basic docstrings
    - Several small functions for setting up the training still need to be
      rolled into Trainer, or maybe a TrainingJob that sits between the
      config and the actual trainer.
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    77c3cbb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0809203 View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary matplotlib backend specification.

    - Will probably need to check that this still works across platforms, or
      provide a parameter to set this explicitly.
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    35a0ae7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2aa2c4f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    29cf1b8 View commit details
    Browse the repository at this point in the history
  9. Minor formatting

    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    7c6a853 View commit details
    Browse the repository at this point in the history
  10. Added utility functions for querying and setting GPU availability

    - Check for GPUs available
    - Set which GPUs to use (or CPU only)
    - Set memory preallocation policy
    - Check for initialization
    - Explicit device initialization
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    ec596e4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8067112 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3e041ef View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b6d07a1 View commit details
    Browse the repository at this point in the history
  14. Remove remaining Union-style configs to enable structuring from file

    - Also fix the global structuring hook for Skeleton
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    0426e55 View commit details
    Browse the repository at this point in the history
  15. Unbatcher dataset transformer

    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    7861bb5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2628701 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d62cb10 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    6699fbc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3d0563e View commit details
    Browse the repository at this point in the history
  20. Initial inference pipeline implementation

    - Topdown with centroid + confmap models
    - Moved old inference.py until deprecated
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    a2e4c20 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    43c8836 View commit details
    Browse the repository at this point in the history
  22. Add more logging to Trainer and disable PAF quiver plot

    - Quiver plot has a huge memory leak on the matplotlib side right now
    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    86ad90d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    201b7a1 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b6e3a31 View commit details
    Browse the repository at this point in the history
  25. sleap.Labels splitting utility

    talmo committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    8bb7ecf View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    be20671 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0d05976 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    0dea1e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Configuration menu
    Copy the full SHA
    a67da57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb5b7c2 View commit details
    Browse the repository at this point in the history
  3. Add best_logical_device_name utility

    - Returns the best initialized (logical) device name for use with
      tf.device for explicit tensor device placement.
    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    f620306 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be50f17 View commit details
    Browse the repository at this point in the history
  5. Rewrote PAF grouping module to for data pipeline inference

    - PartAffinityFieldInstanceGrouper is the transformer
    - Pretty under-commented and incomplete typing
    - PAFScorer should definitely be broken up somehow
    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    7dfe7fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e71dbeb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c1f023c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8914b2e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3f9d8bf View commit details
    Browse the repository at this point in the history
  10. Expand transformers for topdown postprocessing

    - PredictedInstanceCropper and PredictedCenterInstanceNormalizer now
      pass forward centroid and peak confidences.
    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    d7d5a14 View commit details
    Browse the repository at this point in the history
  11. Full inference pipelines implemented for topdown and bottomup.

    - Both can be initialized from just run paths.
    - Both have a .predict() method that creates LabeledFrames on demand.
    - Both have a .predict_generator() method that generates raw examples
      for flexibility in postprocessing.
    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    6ea8d6f View commit details
    Browse the repository at this point in the history
  12. Major clean up of sleap.nn.

    - Remove all unused or orphaned modules or functions.
    - Add basic module-level docstrings.
    - Minor formatting
    - Import most submodules from top level sleap __init__ (adds only
      ~400ms startup time to "import sleap")
    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    c92d802 View commit details
    Browse the repository at this point in the history
  13. More logging in Trainer.

    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    3791ce4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    dd360d1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5d077ed View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c14a8c2 View commit details
    Browse the repository at this point in the history
  17. Even more logging in Trainer.

    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    801119f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    4105678 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4f9fea0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f7712ac View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    e2d27e7 View commit details
    Browse the repository at this point in the history
  22. UNet architecture fixes

    - Add pooling block at the end of the encoder stack. This is necessary
      since UNet uses the last conv in each block as the skip source, so the
      encoder blocks cannot end with a max pooling. Additionally, the first
      block cannot start with a max pooling on the input, so we add an extra
      pooling-only block at the end of the encoder stack to compensate.
    - Middle block implemented. This block adds convolutions without pooling
      at the end of the encoder stack. It increases the number of filters,
      and then decreases back to the input filter count. When set to True,
      the model construction is exactly identical to the legacy models.
    - Added comment about middle block to config.
    - Fixed incorrect upsampling blocks: should not have batch norm and the
      filters after the first refinement conv should decrease (within the
      block).
    - Implemented several of the functionalities required above in the
      simple encoder/decoder blocks.
    talmo committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    33339cd View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Configuration menu
    Copy the full SHA
    977845e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9aa1c2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12437f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    069b156 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee2d923 View commit details
    Browse the repository at this point in the history
  6. Enable training dialog from app gui.

    No inference (w/ saved models) dialog yet, and no loading of saved
    configs.
    ntabris committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    4ba9a47 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2020

  1. Menu for using saved configs.

    Doesn't yet indicate when you've made changes to a config
    (ideally when you start making changes, the menu will switch to
    a "user config" option or something like that), and doesn't provide
    feedback if the file you select doesn't give you a valid config
    (either because it's not a valid config or because it's for the
    wrong head type).
    ntabris committed Mar 1, 2020
    Configuration menu
    Copy the full SHA
    37ecb86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b663c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e44b91 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. Configuration menu
    Copy the full SHA
    9c52510 View commit details
    Browse the repository at this point in the history
  2. Remove unused imports

    ntabris committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    2a6f988 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3787600 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    651653a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de5c57f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    84080fd View commit details
    Browse the repository at this point in the history
  7. Add UI for "use trained model"

    functionality to actually use trained model not yet implemented
    ntabris committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    4b9fb4c View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Accept path to json config in cli.

    If path is to config file json, then get the path to parent dir.
    ntabris committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    b81efc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    758048a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    986ede9 View commit details
    Browse the repository at this point in the history
  4. Replace NaNs with inf for linear_sum_assignment.

    Fixes issue #315.
    ntabris committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    280294c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed9f26d View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Don't raise error in ensure_grayscale.

    If we raise error when shape isn't what we want (1 or 3), then
    this error is getting raised whenever function is called during
    transform on tf dataset. ensure_rgb() already didn't raise error
    for unexpected input shape, so now ensure_grayscale() also doesn't.
    
    Fixes issue #313.
    ntabris committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    82d96f5 View commit details
    Browse the repository at this point in the history
  2. Add string_list field type.

    ntabris committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    c389323 View commit details
    Browse the repository at this point in the history
  3. Tweaks to training forms.

    - fixed 'str' type to 'string'
    - use 'string_list' type for tags list
    ntabris committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    0bc92c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6720372 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Configuration menu
    Copy the full SHA
    28d5eb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bd5d8e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f29d39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    62f7e14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f0a8a1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    425f9f6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    311ec26 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Only squeeze grayscale images.

    Check if there's a single color channel before squeezing, since
    matplotlib wants (M, N) if single channel but (M, N, 3) for RGB.
    
    Fixes issue #320.
    ntabris committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    c115ee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e843259 View commit details
    Browse the repository at this point in the history
  3. Sanitize node names used for tf loss metrics.

    The node names are used for OHKM in topdown model, and so we need
    to ensure that the node names can be used for tf scope names.
    
    Resolves issue #319.
    ntabris committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    fe6945f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. Inference mode for learning dialog.

    - only allows choice of trained configs
    - doesn't allow editing of config params
    - simplified pipeline form (without training params)
    - don't run unless all needed models available
    - validate model when user selects config with file dialog
    - automatically choose pipeline based on most recent trained
      model found in models directory for project
    
    to do:
    - show config options on pipeline form so that user can choose
      which trained model to use without going to head tab
    ntabris committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    c37e56f View commit details
    Browse the repository at this point in the history
  2. Remove debug print.

    ntabris committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    2d4c4cf View commit details
    Browse the repository at this point in the history
  3. Add nn.data.ensure_int function.

    Converts tensor to int and scales to [0, 255] (if appropriate).
    ntabris committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    21cd53f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa356ca View commit details
    Browse the repository at this point in the history
  5. Accept ndarray in ensure_int.

    We can't use is_floating attribute to test for floating dtype.
    ntabris committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    9739b74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    74327bd View commit details
    Browse the repository at this point in the history
  7. Integrate tracking with topdown/bottomup inference

    The tracker will be called frame by frame after predictions are
    converted into list of predicted instances. It will be passed the
    image if it's a tracker that uses the image.
    ntabris committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    fd5c84d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4f07a92 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    540f316 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Wrap inference with error handling.

    Directly iterating over examples in dataset means that everything
    stops if there's a TensorFlow error. I've added a safely_generate
    function which yields examples from the dataset while catching/
    logging errors. This means we'll simply skip frames where we get
    an error, but you'll still get predictions for other frames.
    
    The function also logs progress (number of examples completed,
    time, and fps).
    ntabris committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    ea9e53d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32f1ff0 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

  1. Configuration menu
    Copy the full SHA
    aee03b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2020

  1. Configuration menu
    Copy the full SHA
    a8a7eef View commit details
    Browse the repository at this point in the history
  2. Merge branch 'nn-pipe-integration' of https://github.com/murthylab/sleap

     into nn-pipe-integration
    ntabris committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    d6fa068 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46fc4ae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    32ec659 View commit details
    Browse the repository at this point in the history
  5. Bug fix for training config file list.

    On first loading the dialog the file list was being updated at the
    wrong time and getting cleared. Now we call the update function
    only on subsequent shows.
    ntabris committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    eef6519 View commit details
    Browse the repository at this point in the history
  6. Fix typing on from_numpy arg.

    ntabris committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    d689426 View commit details
    Browse the repository at this point in the history
  7. Add datagen preview.

    ntabris committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    3c946f2 View commit details
    Browse the repository at this point in the history
  8. Remove debug print.

    ntabris committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    505d34b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9c628a7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b7a14cd View commit details
    Browse the repository at this point in the history
  11. Fix minor arg passing error.

    ntabris committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    024b7a2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    db273e1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e31bc1b View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. Add tests for frame merging.

    ntabris committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    e64983a View commit details
    Browse the repository at this point in the history
  2. Refactor gui modules into submodules.

    Created sleap.gui.dialogs and sleap.gui.widgets.
    ntabris committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    465f9c9 View commit details
    Browse the repository at this point in the history
  3. Better layout/titles for datagen preview windows.

    Also moved datagen preview code into separate file.
    ntabris committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    4dbaa58 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e91a93d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f0a926 View commit details
    Browse the repository at this point in the history
  6. Redraw receptive field widget when changed.

    When the widget moved in the form (because we added/removed a
    checkbox to use trained model), the old widget wasn't erased before
    drawing it in the new position. A call to replain() fixes this.
    ntabris committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    ec357b5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    774408e View commit details
    Browse the repository at this point in the history
  8. Add training_instances property, user for training

    This only includes user instances which have some visible points.
    
    Fixes issue #299.
    ntabris committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    03f283e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    47d9073 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2020

  1. Correctly pass full image to flow from topdown.

    If the tracking module wants the full image (i.e., flow shift),
    then we need to save it and pass it along. This wasn't being done
    correctly for the topdown pipeline.
    
    Fixes issue #325.
    ntabris committed Mar 16, 2020
    Configuration menu
    Copy the full SHA
    f0e3d27 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Configuration menu
    Copy the full SHA
    c3bb3a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b320ff7 View commit details
    Browse the repository at this point in the history
  3. New dialog for complex instance deleting.

    The dialog allows for deleting user/predicted/all instances
    in specified frames/videos/tracks.
    
    The old "delete from clip" command has been modified to delete all
    predicted instances in the clip, regardless of whether an instance
    is selected. Previously it would only delete instances which
    matched the track of the selected instance if there was one.
    This was confusiong, so the current change helps address
    issue #312.
    ntabris committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    555076d View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. Configuration menu
    Copy the full SHA
    3e466b9 View commit details
    Browse the repository at this point in the history
  2. Add VSCode to gitignore

    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    4fb168c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6d41ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    07a3b32 View commit details
    Browse the repository at this point in the history
  5. Added mocking for multi-model inference pipelines.

    - Allows for evaluation with a single model (e.g., just centroids) when
      ground truth data is available.
    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    372bc97 View commit details
    Browse the repository at this point in the history
  6. Implement dataset filtering transformer.

    - Allows for exclusion of specific elements in a dataset given a
      callable that evaluates a conditional on each element.
    - Fixes #314: bottom-up inference now properly excludes examples that
      when inference fails to find any local peaks.
    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    5b2fd80 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6d232a5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    938a354 View commit details
    Browse the repository at this point in the history
  9. Filtering for failed centroid detection in topdown inference.

    - Fixes #322: properly handles case where no centroids are detected.
    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    cb02689 View commit details
    Browse the repository at this point in the history
  10. Normalize images for visualization

    - Fixes image plotting when doing weird normalization like caffe-mode.
    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    68a2c00 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'nn-pipe-integration' of https://github.com/murthylab/sleap

     into nn-pipe-integration
    ntabris committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    e1e3ead View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d8070a5 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'nn-pipe-integration' of https://github.com/murthylab/sleap

     into nn-pipe-integration
    ntabris committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    91ab826 View commit details
    Browse the repository at this point in the history
  14. Use Qt backend for matplotlib.

    The default backend (Tk) is giving me errors related to multi-
    processing.
    ntabris committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    a9a620e View commit details
    Browse the repository at this point in the history
  15. Use RLock around ffmpeg seek/read.

    Without a lock we were getting errors when using viz during
    training. With a non-recursive lock I get a deadlock when starting
    inference. It appears that everything works with a recursive lock.
    
    I don't see any noticable performance cost but we should keep an
    eye out for this.
    
    Fixes issue #321.
    ntabris committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    134e189 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5273c24 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    58082a9 View commit details
    Browse the repository at this point in the history
  18. Delete outdated test and nn modules.

    - Lots of these will need to be rewritten for the new format, but should
      be easy enough to port them from the git history later.
    - There's still a bit of legacy code in nn, but will refactor later.
    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    83ef7dc View commit details
    Browse the repository at this point in the history
  19. Fix UNet tests.

    - Commit 33339cd changed how UNet was built to ensure stride symmetry
      across encoder vs decoder branches, but this broke the tests.
    - Inspecting the output shapes closely reveals a discrepancy between the
      reference and the CARE implementations, so added an attribute to
      switch off between these.
    - Fixed pooling when using a stem such that stacked architectures can be
      correctly instantiated.
    - Fixed and added more tests.
    talmo committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    4cfc437 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c0a6f2c View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. Better typing.

    ntabris committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    48aa9b3 View commit details
    Browse the repository at this point in the history
  2. Create RLock only when needed.

    At least for MacOS X I was getting a "too many files open" error
    on a dataset with very many videos even if we weren't reading
    frames from any of the videos.
    ntabris committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    f0bbd7b View commit details
    Browse the repository at this point in the history
  3. More distinctive slider marks.

    Types of vertical marks:
    - thick dark blue line for **suggested** frame with **user** instance,
    otherwise
    - thick light blue line for **suggested** frame with **predicted**
    instance, otherwise
    - thick black line for frame with **user** instance (whether or not it
    has track identity), otherwise
    - *thin* black line for frame with **predicted** instance **without
    track**, otherwise
    - unfilled blue rectangle for **suggested** frame without any instances.
    
    Plus horizontal bars for instances with track identities.
    
    Resolves issue #311.
    ntabris committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    c19f47b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7875d1e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    383463e View commit details
    Browse the repository at this point in the history