Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yaoyuping
nnDetection
Commits
ca7e0f11
Commit
ca7e0f11
authored
Jun 13, 2022
by
Baumgartner, Michael
Browse files
Merge branch '0000_project' of
https://github.com/MIC-DKFZ/nnDetection
into 0000_project
parents
73c0a226
96ed0bd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
nndet/core/boxes/nms.py
nndet/core/boxes/nms.py
+6
-1
No files found.
nndet/core/boxes/nms.py
View file @
ca7e0f11
...
@@ -15,11 +15,16 @@ limitations under the License.
...
@@ -15,11 +15,16 @@ limitations under the License.
"""
"""
import
torch
import
torch
from
loguru
import
logger
from
torch
import
Tensor
from
torch
import
Tensor
from
torch.cuda.amp
import
autocast
from
torch.cuda.amp
import
autocast
from
torchvision.ops.boxes
import
nms
as
nms_2d
from
torchvision.ops.boxes
import
nms
as
nms_2d
from
nndet._C
import
nms
as
nms_gpu
try
:
from
nndet._C
import
nms
as
nms_gpu
except
ImportError
:
logger
.
warning
(
"nnDetection was not build with GPU support!"
)
nms_gpu
=
None
from
nndet.core.boxes.ops
import
box_iou
from
nndet.core.boxes.ops
import
box_iou
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment