Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

[WIP] Tracing / Scripting #138

Closed
wants to merge 28 commits into from
Closed

Commits on Nov 7, 2018

  1. Initial stab at tracing

    As this is very much work in progress, here are some quick notes:
    - demo/trace_model.py has the current state
    
    Lots of todos:
    - there are warnings to be investigated, in particularly for loops and
      boxlist sizes
    - it needs some PyTorch JIT fixes
    - clean up, including reverting unneeded changes
    - round off the displaying
    - do a C++ app
    - try a different model/config
    t-vi committed Nov 7, 2018
    Copy the full SHA
    84af4e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. C++ frontend

    t-vi committed Nov 8, 2018
    Copy the full SHA
    05129e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2018

  1. Copy the full SHA
    cb01a09 View commit details
    Browse the repository at this point in the history
  2. linting

    t-vi committed Nov 13, 2018
    Copy the full SHA
    5c5554c View commit details
    Browse the repository at this point in the history
  3. Cleanup: nms

    With recent JIT improvements, we can use the op directly
    t-vi committed Nov 13, 2018
    Copy the full SHA
    8d5455c View commit details
    Browse the repository at this point in the history
  4. Python 2 compatibility

    Thank you, Francisco, for the hint!
    t-vi committed Nov 13, 2018
    Copy the full SHA
    5783917 View commit details
    Browse the repository at this point in the history
  5. cleanup roi_align

    t-vi committed Nov 13, 2018
    Copy the full SHA
    8dfe05e View commit details
    Browse the repository at this point in the history
  6. add _custom_ops loader

    t-vi committed Nov 13, 2018
    Copy the full SHA
    9ccbdd9 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    34f6585 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    f16fa61 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    4686a18 View commit details
    Browse the repository at this point in the history
  10. lint

    t-vi committed Nov 13, 2018
    Copy the full SHA
    43fe312 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2018

  1. More cleanup

    - Pooler's merge_levels can move from C++ to JIT script, but
      the enumeration over module list needs to remain in tracing
      for now.
    - Remove demo put_text custom op
    - Leave but comment on the only slightly odd full_like use.
    t-vi committed Nov 14, 2018
    Copy the full SHA
    8462696 View commit details
    Browse the repository at this point in the history
  2. More cleanups for bounding_box

    Use @fmassa's trick for only two clamp calls (thanks!) and comment on clamp vs. clamp_.
    t-vi committed Nov 14, 2018
    Copy the full SHA
    4e614e1 View commit details
    Browse the repository at this point in the history
  3. Loose the .forward workaround

    This means that you won't be able to trace the module without the
    PyTorch PR #13961.
    But it looks so clean!
    t-vi committed Nov 14, 2018
    Copy the full SHA
    eb88047 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fa5cd4e View commit details
    Browse the repository at this point in the history
  5. fix setup

    t-vi committed Nov 14, 2018
    Copy the full SHA
    80664c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Copy the full SHA
    f91996b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from aaronlelevier/scripting_syncup

    Scripting - syncup with master branch
    
    Thank you @aaronlelevier!
    t-vi committed Feb 18, 2019
    Copy the full SHA
    b1b03ae View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2019

  1. replace images that PIL loads with URLs instead of filenames, so the …

    …image isn't needed locally
    aaronlelevier committed Mar 2, 2019
    Copy the full SHA
    10053c8 View commit details
    Browse the repository at this point in the history
  2. replace relative path with a path based upon the file location so we …

    …can call either of the following and the code will run:
    
    cd demo && python trace_model.py
    
    or:
    
    python demo/trace_model.py
    aaronlelevier committed Mar 2, 2019
    Copy the full SHA
    4905a65 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from aaronlelevier/trace_model

    Two small improvements for trace_model.py
    t-vi committed Mar 2, 2019
    Copy the full SHA
    4ef9aea View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Apply suggestions from code review

    Thanks @klaisauke
    
    Co-Authored-By: t-vi <tv.github@beamnet.de>
    kleisauke and t-vi committed Apr 5, 2019
    Copy the full SHA
    debf7be View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2019

  1. Copy the full SHA
    43f4eb6 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

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

Commits on May 28, 2019

  1. Fixes after merging

    Special thanks to @nicolasCruzW21 for pointing out the broken mask
    head fix!
    t-vi committed May 28, 2019
    Copy the full SHA
    a252749 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c444584 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1cf3315 View commit details
    Browse the repository at this point in the history