1. 09 Mar, 2022 1 commit
  2. 08 Mar, 2022 2 commits
  3. 07 Mar, 2022 1 commit
  4. 05 Mar, 2022 2 commits
  5. 04 Mar, 2022 4 commits
  6. 03 Mar, 2022 1 commit
  7. 01 Mar, 2022 1 commit
    • Tong Xiao's avatar
      Allow Users to Disable the Evaluation after the Last Training Iteration · f16cc060
      Tong Xiao authored
      Summary:
      `Detectron2GoRunner` defaults to trigger an evaluation right after the last iteration in the `runner.do_train` method. This sometimes might be unnecessary, because there is a `runner.do_test` at the end of training anyways.
      
      It could also lead to some side effects. For example, it would cause the training and test data loader present at the same time, which led to an OOM issue in our use case.
      
      In this diff, we add an option `eval_after_train` in the `EvalHook` to allow users to disable the evaluation after the last training iteration.
      
      Reviewed By: wat3rBro
      
      Differential Revision: D34295685
      
      fbshipit-source-id: 3612eb649bb50145346c56c072ae9ca91cb199f5
      f16cc060
  8. 28 Feb, 2022 2 commits
  9. 25 Feb, 2022 1 commit
  10. 24 Feb, 2022 1 commit
    • Yanghan Wang's avatar
      exclude d2go&project lib from .gitignore · fb0164c3
      Yanghan Wang authored
      Summary: It's possible to have `lib` under core `mobile-vision/d2go/{d2go,projects}`, exclude them from `.gitignore`.
      
      Reviewed By: zhanghang1989
      
      Differential Revision: D34288538
      
      fbshipit-source-id: 7094cdf4f52263fbf6ff6707d487bc3328fbbd8b
      fb0164c3
  11. 23 Feb, 2022 3 commits
  12. 14 Feb, 2022 1 commit
    • Tugrul Savran's avatar
      D2Go Fail Fast: Move exception coming from not implemented "compare accuracy" feature to the top. · eee4dfc1
      Tugrul Savran authored
      Summary:
      Currently, the exporter method takes in a compare_accuracy parameter, which after all the compute (exporting etc.) raises an exception if it is set to True.
      
      This looks like an antipattern, and causes a waste of compute.
      
      Therefore, I am proposing to raise the exception at the very beginning of method call to let the client know in advance that this argument's functionality isn't implemented yet.
      
      NOTE: We might also choose to get rid of the entire parameter. I am open for suggestions.
      
      Differential Revision: D34186578
      
      fbshipit-source-id: d7fbe7589dfe2d2f688b870885ca61e6829c9329
      eee4dfc1
  13. 11 Feb, 2022 1 commit
    • Yanghan Wang's avatar
      add inference path · 614336e4
      Yanghan Wang authored
      Reviewed By: Maninae
      
      Differential Revision: D34097529
      
      fbshipit-source-id: e3c860bb2374e694fd6ae54651a479c2398b2462
      614336e4
  14. 10 Feb, 2022 1 commit
  15. 07 Feb, 2022 1 commit
  16. 03 Feb, 2022 1 commit
  17. 02 Feb, 2022 1 commit
  18. 29 Jan, 2022 1 commit
  19. 27 Jan, 2022 3 commits
    • Hang Zhang's avatar
      Remove Pre-norm option, since it is not used · 6994f168
      Hang Zhang authored
      Summary: As in the tittle
      
      Reviewed By: XiaoliangDai
      
      Differential Revision: D33413849
      
      fbshipit-source-id: b891849c175edc7b8916bff2fcc40c76c4658f14
      6994f168
    • Hang Zhang's avatar
      Enable Learnable Query TGT · 9200cbe8
      Hang Zhang authored
      Summary: Learnable query doesn't improve the results, but it helps DETR with reference points in D33420993
      
      Reviewed By: XiaoliangDai
      
      Differential Revision: D33401417
      
      fbshipit-source-id: 5296f2f969c04df18df292d61a7cf57107bc9b74
      9200cbe8
    • Hang Zhang's avatar
      Refactor Code Base · 4985ef73
      Hang Zhang authored
      Summary: Add DETR_MODEL_REGISTRY registry to better support different variant of DETR (in later diff).
      
      Reviewed By: newstzpz
      
      Differential Revision: D32874194
      
      fbshipit-source-id: f8e9a61417ec66bec9f2d98631260a2f4e2af4cf
      4985ef73
  20. 20 Jan, 2022 1 commit
    • Sam Tsai's avatar
      fix pickling issue in EnlargeBoundingBox · 189d83d7
      Sam Tsai authored
      Summary:
      Pull Request resolved: https://github.com/facebookresearch/d2go/pull/166
      
      Pickling of transform functions seems to have changed (did not dig into it) in December, breaking the support for this augmentation. This error happens when training with multiple dataloaders. Using partial functions instead.
      
      Differential Revision: D33665177
      
      fbshipit-source-id: 4dfd41b92f3a6fea549b6e7a79bf0bf14a3cceaa
      189d83d7
  21. 18 Jan, 2022 1 commit
    • Miquel Jubert Hermoso's avatar
      Fix type signature of create_runner · c74e23b0
      Miquel Jubert Hermoso authored
      Summary: The type signature of create_runner is not accurate. We expect lightning runners to follow DefaultTask. Also change setup.py to not import directly, which was causing circular dependencies together with the change.
      
      Reviewed By: wat3rBro
      
      Differential Revision: D32792069
      
      fbshipit-source-id: 0fbb55eb269dd681dbc8df49d71c9635f56293b8
      c74e23b0
  22. 14 Jan, 2022 1 commit
  23. 13 Jan, 2022 2 commits
    • Tsahi Glik's avatar
      Add support for custom training step via meta_arch · b6e244d2
      Tsahi Glik authored
      Summary:
      Add support in the default lightning task to run a custom training step from Meta Arch if exists.
      The goal is to allow custom training step without the need to inherit from the default lightning task class and override it. This will allow us to use a signle lightning task and still allow users to customize the training step. In the long run this will be further encapsulated in modeling hook, making it more modular and compositable with other custom code.
      
      This change is a follow up from discussion in  https://fburl.com/diff/yqlsypys
      
      Reviewed By: wat3rBro
      
      Differential Revision: D33534624
      
      fbshipit-source-id: 560f06da03f218e77ad46832be9d741417882c56
      b6e244d2
    • Tsahi Glik's avatar
      Person segmentation using torch lightning · c687fb83
      Tsahi Glik authored
      Summary:
      Add option to train Person Instance Segmentation using lightning instead of D2 (https://github.com/facebookresearch/d2go/commit/7992f91324aee6ae59795063a007c6837e60cdb8).
      This is needed because we want to try PIS with SuperNet and our SuperNet based training is implemented in d2go lightning task
      
      Reviewed By: zhanghang1989
      
      Differential Revision: D33281437
      
      fbshipit-source-id: e1b6567f3c77ce51240fb50d81350bc97735713a
      c687fb83
  24. 12 Jan, 2022 1 commit
  25. 10 Jan, 2022 1 commit
  26. 08 Jan, 2022 2 commits
  27. 07 Jan, 2022 1 commit
    • Tsahi Glik's avatar
      Fix EMA model training with lightning · 6cff7737
      Tsahi Glik authored
      Summary:
      Current implementation of d2go lightning default task fails when running a model training with EMA.
      The error is :
      ```
      RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss.
      ```
      The error is due the fact the d2go lightning task create a copy of the ema model for evaluation that does not included in the training, which raise the error that there are unused params.
      This is solved by moving the copy creation to after training and to when evaluation starts.
      
      Reviewed By: kazhang
      
      Differential Revision: D33442690
      
      fbshipit-source-id: e9e469e33811de0b4171a64293cc16a8157af08c
      6cff7737
  28. 06 Jan, 2022 1 commit
    • Binh Tang's avatar
      Rename `DDPPlugin` to `DDPStrategy` (#11142) · aeb15613
      Binh Tang authored
      Summary:
      ### New commit log messages
        b64dea9dc Rename `DDPPlugin` to `DDPStrategy` (#11142)
      
      Reviewed By: jjenniferdai
      
      Differential Revision: D33259306
      
      fbshipit-source-id: b4608c6b96b4a7977eaa4ed3f03c4b824882aef0
      aeb15613