Skip to content

Assertion macros compatible with pytorch master #540

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

Merged
merged 1 commit into from
Jul 3, 2018

Conversation

ahirner
Copy link

@ahirner ahirner commented Jul 2, 2018

Replace AT_ASSERT with AT_ASSERTM. This made the layer branch compile with pytorch master 623ae0c.
Edit: just saw fix in #504 with AT_CHECK which should also do the trick.

@fmassa
Copy link
Member

fmassa commented Jul 2, 2018

Looks like this is the right fix, thanks!
One question, is this PR sent to the layers branch? Looks like it, I just wanted to confirm

@ahirner
Copy link
Author

ahirner commented Jul 2, 2018

Yes, sent it to the layers branch

@soumith soumith merged commit 0b5c026 into pytorch:layers Jul 3, 2018
@soumith
Copy link
Member

soumith commented Jul 3, 2018

thank you @ahirner !

varunagrawal pushed a commit to varunagrawal/vision that referenced this pull request Jul 23, 2018
varunagrawal pushed a commit to varunagrawal/vision that referenced this pull request Jan 24, 2019
varunagrawal pushed a commit to varunagrawal/vision that referenced this pull request Jan 25, 2019
fmassa pushed a commit to fmassa/vision-1 that referenced this pull request Apr 15, 2019
fmassa added a commit that referenced this pull request May 7, 2019
* Initial layout for layers with cpp extensions

* Move files around

* Fix import after move

* Add support for multiple types to ROIAlign

* Different organization

CUDA extensions work now

* Cleanups

* Reduce memory requirements for backwards

* Replace runtime_error by AT_ERROR

* Add nms test

* Add support for compilation using CPP extensions

* Change folder structure

* Add ROIPool cuda

* Cleanups

* Add roi_pool.py

* Fix lint

* Add initial structures folder for bounding boxes

* Assertion macros compatible with pytorch master (#540)

* Support for ROI Pooling (#592)

* ROI Pooling with tests. Fix for cuda context in ROI Align.

* renamed bottom and top to follow torch conventions

* remove .type().tensor() calls in favor of the new approach to tensor initialization (#626)

* Consistent naming for rois variable (#627)

* remove .type().tensor() calls in favor of the new approach to tensor initialization

* Consistent naming for rois variable in ROIPool

* ROIPool: Support for all datatypes (#632)

* Use of torch7 naming scheme for ROIAlign forward and backward

* use common cuda helpers in ROIAlign

* use .options() in favor of .type() where applicable

* Added tests for forward pass of ROIAlign, as well as more consistent naming scheme for CPU vs CUDA

* working ROIAlign cuda backwards pass

* working ROIAlign backwards pass for CPU

* added relevant headers for ROIAlign backwards

* tests for ROIAlign layer

* replace .type() with .options() for tensor initialization in ROIAlign layers

* support for Half types in ROIAlign

* gradcheck tests for ROIAlign

* updated ROIPool on CPU to work with all datatypes

* updated and cleaned tests for ROI Pooling

* Fix rebase problem

* Remove structures folder

* Improve cleanup and bugfix in test_layers

* Update C++ headers

* Add CUDAGuard to cu files

* Add more checks to layers

* Add CUDA NMS and tests

* Add multi-type support for NMS CUDA

* Avoid using THCudaMalloc

* Add clang-format and reformat c++ code

* Remove THC includes

* Rename layers to ops

* Add documentation and rename functions

* Improve the documentation a bit

* Fix some lint errors

* Fix remaining lint inssues

* Area computation doesn't add +1 in NMS

* Update CI to use PyTorch nightly

* Make NMS return indices sorted according to the score

* Address reviewer comments

* Lint fixes

* Improve doc for roi_align and roi_pool

* move to xenial

* Fix bug pointed by @lopuhin

* Fix RoIPool reference implementation in Python 2

Also fixes a bug in the clip_boxes_to_image -- this function needs a test!

* Remove change in .travis
rajveerb pushed a commit to rajveerb/vision that referenced this pull request Nov 30, 2023
* [RetinaNet] Changed the default lr to match adam optimizer

* [RetinaNet] fixes to the onnx conversion script

* [RetinaNet] Cleaned up CocoEvaluator implementation

* [RetinaNet] Bumped pycocotools version to 2.0.4

Fixes mlcommons/training/pytorch#540
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.

3 participants