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

Detection Transformer Estimator #2192

Merged

Commits on Jun 14, 2023

  1. ViT backbone object detector with fasterRCNN example

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    cb610a8 View commit details
    Browse the repository at this point in the history
  2. ViT backbone object detector with fasterRCNN example

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    dc2987a View commit details
    Browse the repository at this point in the history
  3. training pipeline for fasterrcnn with vit backbone working. requires …

    …utils from torchvision repo. pretrained vit output to be investigated after training.
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    36e5e6e View commit details
    Browse the repository at this point in the history
  4. Adding pytorch detr. Working example demonstrating object detection a…

    …nd robust dpatch attack (for COCO image, still to check: IN images)
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    cc4894e View commit details
    Browse the repository at this point in the history
  5. DETR with original source methods attributed

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    2c5bf42 View commit details
    Browse the repository at this point in the history
  6. DETR with changes to original src

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    4b97069 View commit details
    Browse the repository at this point in the history
  7. Removed unused misc files. Updated example notebook demonstrating ViT…

    … object detection under attack.
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    fd09793 View commit details
    Browse the repository at this point in the history
  8. Completed tests. Added method to freeze multihead-attention module. U…

    …pdated notebook. Formatting files.
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    5fa5001 View commit details
    Browse the repository at this point in the history
  9. Adding constructor for detr

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    
    rebased to dev_1.14.1
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    f943d67 View commit details
    Browse the repository at this point in the history
  10. Moved notebook to correct folder for adversarial patch attack. Update…

    …d notebooks README with DETR notebook.
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    61a814e View commit details
    Browse the repository at this point in the history
  11. Updated formatting

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    1627d37 View commit details
    Browse the repository at this point in the history
  12. Refactored loss classes to prevent tests for other frameworks failing

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    b9d7fc7 View commit details
    Browse the repository at this point in the history
  13. Refactored loss classes to prevent tests for other frameworks failing

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    bedcc31 View commit details
    Browse the repository at this point in the history
  14. Fix for static methods and styling

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    c639bbd View commit details
    Browse the repository at this point in the history
  15. Framework check for detr tests

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    317aada View commit details
    Browse the repository at this point in the history
  16. Updated class name, added typing and other minor fixes.

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    b48dff0 View commit details
    Browse the repository at this point in the history
  17. Updated class name, added typing and other minor fixes.

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    46f3958 View commit details
    Browse the repository at this point in the history
  18. Added test call to github workflow

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    8f62b12 View commit details
    Browse the repository at this point in the history
  19. fix Tensor Device Inconsistencies in pgd

    Signed-off-by: signedqiu <10063108+signedqiu@user.noreply.gitee.com>
    Signed-off-by: signedqiu <chunlinqiu@whu.edu.cn>
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    signedqiu authored and kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    478d9a7 View commit details
    Browse the repository at this point in the history
  20. Updates to DETR: cleaned up resizing; correct clipping. Updates to no…

    …tebook: validated attack with PGD. Updates to test: correct loss computation and PGD.
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    64db977 View commit details
    Browse the repository at this point in the history
  21. Fixing formatting

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    8e4c89d View commit details
    Browse the repository at this point in the history
  22. updated detection transformer notebook

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    8248092 View commit details
    Browse the repository at this point in the history
  23. Remove irrelevant PGD

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a1757e0 View commit details
    Browse the repository at this point in the history
  24. Merge remote-tracking branch 'upstream/dev_1.15.0' into dev_detection…

    …_transformer
    
    Merging latest dev_1.15.0
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    cacc829 View commit details
    Browse the repository at this point in the history
  25. Fixed pylint, mypy issues

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    ef88ed2 View commit details
    Browse the repository at this point in the history
  26. Remove print line

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a51b614 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Adding Apache License to original DETR functions

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    0ab98d0 View commit details
    Browse the repository at this point in the history
  2. Updated notebook with stronger adversarial patch attacks - targeted a…

    …nd untargeted
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    7a96e2c View commit details
    Browse the repository at this point in the history
  3. Removing comments to fix pylint test

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    0d15d2f View commit details
    Browse the repository at this point in the history
  4. Adding missing license to functions

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    40070ea View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

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

Commits on Jun 28, 2023

  1. Standalone detr.py file for utility code from FB repo

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    3e250a1 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/dev_detection_transformer' into …

    …dev_detection_transformer
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    496fcd3 View commit details
    Browse the repository at this point in the history
  3. Removing duplicate license reference

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    482b277 View commit details
    Browse the repository at this point in the history
  4. Updated reference to adapted detr functions under Apache 2.0

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    d6ed99b View commit details
    Browse the repository at this point in the history
  5. Updated detr.py docstring with list of changes to Apache 2.0 code

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    35f1d5a View commit details
    Browse the repository at this point in the history
  6. Updated device in pytorch_detection_transformer.py and detr.py. Updat…

    …ed test so consistently passes on both CPU and GPU.
    
    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    3a97e66 View commit details
    Browse the repository at this point in the history
  7. mypy fix - .to should not be called if np.array

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    84c9e2b View commit details
    Browse the repository at this point in the history
  8. Fix for black formatting

    Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
    kieranfraser committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    81408e5 View commit details
    Browse the repository at this point in the history