`create_extension` was removed in pytorch-1.0
See original GitHub issuecreate_extension
was supported by pytorch v0.4.1 only
starting 1.0 pytorch the function was erased in favour of cpp extensions but it’s not a drop-in replacement
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to adapt /lib/nms/build.py to support pytorch1.0? #146
I changed the lib/nms/build.py as: import os import torch #from torch.utils.ffi import create_extension from torch.utils.cpp_extension ...
Read more >Custom C++ and CUDA Extensions - PyTorch
BuildExtension performs a number of required configuration steps and checks and also manages mixed compilation in the case of mixed C++/CUDA extensions. And ......
Read more >Install specific PyTorch version (pytorch==1.0.1) - Stack Overflow
conda install pytorch==1.0.1 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
torchvision.ops.nms(boxes, scores, iou_threshold) Performs non-maximum suppression (NMS) on the boxes according to their intersection-over-union (IoU).
Yes, I missed that code for pytorch 1.0 is not in master.