1. 16 Mar, 2022 2 commits
  2. 10 Mar, 2022 1 commit
  3. 09 Mar, 2022 1 commit
  4. 08 Mar, 2022 2 commits
  5. 07 Mar, 2022 1 commit
  6. 05 Mar, 2022 2 commits
  7. 04 Mar, 2022 4 commits
  8. 03 Mar, 2022 1 commit
  9. 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
  10. 28 Feb, 2022 2 commits
  11. 25 Feb, 2022 1 commit
  12. 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
  13. 23 Feb, 2022 3 commits
  14. 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
  15. 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
  16. 10 Feb, 2022 1 commit
  17. 07 Feb, 2022 1 commit
  18. 03 Feb, 2022 1 commit
  19. 02 Feb, 2022 1 commit
  20. 29 Jan, 2022 1 commit
  21. 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
  22. 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
  23. 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
  24. 14 Jan, 2022 1 commit
  25. 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
  26. 12 Jan, 2022 1 commit
  27. 10 Jan, 2022 1 commit
  28. 08 Jan, 2022 1 commit
    • Binh Tang's avatar
      Add deprecation path for renamed training type plugins (#11227) · fcd51171
      Binh Tang authored
      Summary:
      ### New commit log messages
        4eede7c30 Add deprecation path for renamed training type plugins (#11227)
      
      Reviewed By: edward-io, daniellepintz
      
      Differential Revision: D33409991
      
      fbshipit-source-id: 373e48767e992d67db3c85e436648481ad16c9d0
      fcd51171