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

更新 #1

Merged
merged 34 commits into from
Jul 18, 2019
Merged

更新 #1

merged 34 commits into from
Jul 18, 2019

Conversation

92ypli
Copy link
Owner

@92ypli 92ypli commented Jul 18, 2019

更新

qizhuli and others added 30 commits May 2, 2019 23:21
Avoids naming clash with torchvision CocoDetection class
* modify senario where dataset has no mask provided

* change to check segmentation mask in the way of keypoint
* max proposal protect and box convert to xyxy in iou function

* remove unnecessary lines
* Update SigmoidFocalLoss_cuda.cu

line 120 converted to long to support windows10

* Update SigmoidFocalLoss_cuda.cu

removed old line  
and converted to long to support windows10

* Update SigmoidFocalLoss_cuda.cu

Converted to long to support windows10

* Update INSTALL.md

Step_By_Step Guide installation on windows

* Update INSTALL.md

updated Clone of architecture to be the one of this repo which has the fixes needed for Windows10

* Update INSTALL.md

How  to check what cuda version to install with pytorch

* Update INSTALL.md
* Implement multi-scale testing(bbox aug) like Detectron.

* Add comment.

* Fix missing cfg after merge.
* fix the bug in segmentation_mask when initializing BinaryMaskList with an empty list

* Add empty binary mask handling

* Strict indexing in BinaryMaskList - raise error for empty indexing
remove `_C.MODEL.BACKBONE.USE_GN = False`, since it is not used in the code.

```
liliang@liliang-ubuntu:~/liliang_learning/maskrcnn-benchmark/maskrcnn_benchmark$ grep -r "USE_GN"
Binary file config/__pycache__/defaults.cpython-37.pyc matches
config/defaults.py:_C.MODEL.BACKBONE.USE_GN = False
config/defaults.py:_C.MODEL.FPN.USE_GN = False
config/defaults.py:_C.MODEL.ROI_BOX_HEAD.USE_GN = False
config/defaults.py:_C.MODEL.ROI_MASK_HEAD.USE_GN = False
Binary file modeling/backbone/__pycache__/backbone.cpython-37.pyc matches
modeling/backbone/backbone.py:            cfg.MODEL.FPN.USE_GN, cfg.MODEL.FPN.USE_RELU
modeling/backbone/backbone.py:            cfg.MODEL.FPN.USE_GN, cfg.MODEL.FPN.USE_RELU
Binary file modeling/roi_heads/mask_head/__pycache__/roi_mask_feature_extractors.cpython-37.pyc matches
modeling/roi_heads/mask_head/roi_mask_feature_extractors.py:        use_gn = cfg.MODEL.ROI_MASK_HEAD.USE_GN
Binary file modeling/roi_heads/box_head/__pycache__/roi_box_feature_extractors.cpython-37.pyc matches
modeling/roi_heads/box_head/roi_box_feature_extractors.py:        use_gn = cfg.MODEL.ROI_BOX_HEAD.USE_GN
modeling/roi_heads/box_head/roi_box_feature_extractors.py:        use_gn = cfg.MODEL.ROI_BOX_HEAD.USE_GN
```
* Add requests for compatibility with the demo notebook

* Add requests for compatibility with the demo notebook
* do not split strings so that format() works as expected

* address flake8 indentation issue
Fixed missing line importing F (torchvision.transforms.functional) used in line 43
now can inference on cpu by setting MODEL.DEVICE cpu
* keep the resize function the same in test time the same with training time

* add vertical flip
…f the images during training` (#836)

* Update setup.py

* add a FORCE_CUDA flag

Following discussion [here](#167), this seemed the best solution

* Update Dockerfile

* Update setup.py

* add FORCE_CUDA as an ARG

* 	modified:   docker/Dockerfile
	modified:   setup.py

* small fix to readme of demo

* remove test print

* keep ARG_CUDA

* remove env value and use the one from ARG

* keep same formatting as source

* change proposed by @miguelvr

* Update INSTALL.md

* Update trainer.py

* Update trainer.py

* Update trainer.py

* Update trainer.py

* Update trainer.py

* Update setup.py
* Merge branch 'master' of /home/braincreator/projects/maskrcnn-benchmark with conflicts.

* update Dockerfile

* save config in output dir

* replace string format with os.path.join
* Merge branch 'master' of /home/braincreator/projects/maskrcnn-benchmark with conflicts.

* update Dockerfile

* save labels to output dir

* save labels on main process only
* Add mixed precision training instruction

Highlight the model support for mixed precision training and add instruction to enable it on README

* Add link to in-depth MP training guide
* support RLE and binary mask

* do not convert to numpy

* be consistent with Detectron

* delete wrong comment

* [WIP] add tests for segmentation_mask

* update tests

* minor change

* Refactored segmentation_mask.py

* Add unit test for segmentation_mask.py

* Add RLE support for BinaryMaskList

* PEP8 black formatting

* Minor patch

* Use internal  that handles 0 channels

* Fix polygon slicing

* Revert "Pr150"

* Add RLE size check for SegmentationMask
Fix typo, highlight words in python language, add hyperlink
* print pretty evaluation results

* remove `name` attribute from Datasets

* add a newline before printing results
@92ypli 92ypli merged commit 48a7eed into 92ypli:master Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.