forked from facebookresearch/maskrcnn-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
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
update to latest and small fix to empty targets #2
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* support for any one cuda device * Revert "support for any one cuda device" This reverts commit 0197e4e. * support runnning for anyone cuda device * using safe CUDAGuard rather than intrinsic CUDASetDevice * supplement a header dependency (test passed) * Support for arbitrary GPU device. * Support for arbitrary GPU device. * add docs for two method to control devices
* Merge branch 'master' of /home/braincreator/projects/maskrcnn-benchmark with conflicts. * rolls back the breaking AT dispatch changes (facebookresearch#555) * revert accidental docker changes * revert accidental docker changes (2)
* fixes to dockerfile * replaces local installation by git clone
…ch#537)" (facebookresearch#608) This reverts commit f031879.
Following discussion [here](facebookresearch#167), this seemed the best solution
modified: setup.py
…cker (facebookresearch#612) * add a FORCE_CUDA flag Following discussion [here](facebookresearch#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
Fix a bug. Romove the echo command in line 36: RUN conda install pytorch-nightly cudatoolkit=${CUDA} -c pytorch To enable conda installation of pytorch-nightly.
add tqdm in line32 : RUN pip install ninja yacs cython matplotlib opencv-python tqdm
…ookresearch#473) * 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
* fix py2 * fix py2
* make pixel indexes 0-based for bounding box in pascal voc dataset * replacing all instances of torch.distributed.deprecated with torch.distributed * replacing all instances of torch.distributed.deprecated with torch.distributed * add GroupNorm * add GroupNorm -- sort out yaml files * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes * modification on 'group_norm' and 'conv_with_kaiming_uniform' function * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication * use 'kaiming_uniform' to initialize resnet, disable gn after fc layer, and add dilation into ResNetHead * agnostic-regression for bbox * please set 'STRIDE_IN_1X1' to be 'False' when backbone use GN * add README.md for GN * add dcn from mmdetection
* add color jitter augmentation * fix spelling
* proposals from RPN per image during training * README * Update README for setting FPN_POST_NMS_TOP_N_TRAIN * Update README.md * removing extra space change
* make pixel indexes 0-based for bounding box in pascal voc dataset * replacing all instances of torch.distributed.deprecated with torch.distributed * replacing all instances of torch.distributed.deprecated with torch.distributed * add GroupNorm * add GroupNorm -- sort out yaml files * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes * modification on 'group_norm' and 'conv_with_kaiming_uniform' function * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication * use 'kaiming_uniform' to initialize resnet, disable gn after fc layer, and add dilation into ResNetHead * agnostic-regression for bbox * please set 'STRIDE_IN_1X1' to be 'False' when backbone use GN * add README.md for GN * add dcn from mmdetection * add documentation for finetuning cityscapes * add documentation for finetuning cityscapes * add documentation for finetuning cityscapes
…ME.md' (facebookresearch#701) * make pixel indexes 0-based for bounding box in pascal voc dataset * replacing all instances of torch.distributed.deprecated with torch.distributed * replacing all instances of torch.distributed.deprecated with torch.distributed * add GroupNorm * add GroupNorm -- sort out yaml files * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes * modification on 'group_norm' and 'conv_with_kaiming_uniform' function * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication * use 'kaiming_uniform' to initialize resnet, disable gn after fc layer, and add dilation into ResNetHead * agnostic-regression for bbox * please set 'STRIDE_IN_1X1' to be 'False' when backbone use GN * add README.md for GN * add dcn from mmdetection * add documentation for finetuning cityscapes * add documentation for finetuning cityscapes * add documentation for finetuning cityscapes * add 'once_differentiable' for dcn and modify 'configs/cityscapes/README.md'
* Add ImportError to generic except * Black formatter * OpenCV is no longer optional * Update README w.r.t. FPN_POST_NMS_PER_BATCH
* Update documentation for testing and calculating mAP for each class * Update documentation for testing and calculating mAP for each class
* make pixel indexes 0-based for bounding box in pascal voc dataset * replacing all instances of torch.distributed.deprecated with torch.distributed * replacing all instances of torch.distributed.deprecated with torch.distributed * add GroupNorm * add GroupNorm -- sort out yaml files * use torch.nn.GroupNorm instead, replace 'use_gn' with 'conv_block' and use 'BaseStem'&'Bottleneck' to simply codes * modification on 'group_norm' and 'conv_with_kaiming_uniform' function * modification on yaml files in configs/gn_baselines/ and reduce the amount of indentation and code duplication * use 'kaiming_uniform' to initialize resnet, disable gn after fc layer, and add dilation into ResNetHead * agnostic-regression for bbox * please set 'STRIDE_IN_1X1' to be 'False' when backbone use GN * add README.md for GN * add dcn from mmdetection * add documentation for finetuning cityscapes * add documentation for finetuning cityscapes * add documentation for finetuning cityscapes * add 'once_differentiable' for dcn and modify 'configs/cityscapes/README.md' * rectify the 'padding' for 'DFConv2d'
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 ```
…ch#655) * Add requests for compatibility with the demo notebook * Add requests for compatibility with the demo notebook
…ch#631) * 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
update to latest version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.