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
109ca2b8
Commit
109ca2b8
authored
May 16, 2021
by
mibaumgartner
Browse files
github templates
parent
b068251a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
.github/ISSUE_TEMPLATE/bug.md
.github/ISSUE_TEMPLATE/bug.md
+32
-0
.github/ISSUE_TEMPLATE/question.md
.github/ISSUE_TEMPLATE/question.md
+11
-0
scripts/utils.py
scripts/utils.py
+7
-0
No files found.
.github/ISSUE_TEMPLATE/bug.md
0 → 100644
View file @
109ca2b8
---
name
:
Bug
about
:
Report a bug
title
:
"
[Bug]"
labels
:
Bug
assignees
:
'
'
---
### :skull: Bug
<!-- Please provide a short and cleaer describtion of the bug. What happens? What should happen? -->
### Environment
Please provide some information about the used environment.
<!--
Please run the following command to collect environment information and paste them below:
If nnDetection is already installed:
```
bash
nndet_env
```
otherwise execute the script directly from the nndetection source folder:
```
bash
python scripts/utils.py
```
-->
Environment Information:
```
text
PASTE HERE
```
.github/ISSUE_TEMPLATE/question.md
0 → 100644
View file @
109ca2b8
---
name
:
Question
about
:
Ask a question
title
:
"
[Question]"
labels
:
Question
assignees
:
'
'
---
### :question: Question
<!-- Please provide a short and cleaer question-->
scripts/utils.py
View file @
109ca2b8
...
@@ -183,6 +183,7 @@ def unpack():
...
@@ -183,6 +183,7 @@ def unpack():
def
env
():
def
env
():
import
os
import
os
import
torch
import
torch
import
sys
print
(
f
"PyTorch Version:
{
torch
.
version
}
"
)
print
(
f
"PyTorch Version:
{
torch
.
version
}
"
)
print
(
f
"PyTorch CUDA:
{
torch
.
version
.
cuda
}
"
)
print
(
f
"PyTorch CUDA:
{
torch
.
version
.
cuda
}
"
)
print
(
f
"PyTorch Backend cudnn:
{
torch
.
backends
.
cudnn
.
version
()
}
"
)
print
(
f
"PyTorch Backend cudnn:
{
torch
.
backends
.
cudnn
.
version
()
}
"
)
...
@@ -196,3 +197,9 @@ def env():
...
@@ -196,3 +197,9 @@ def env():
print
(
f
"System Arch List:
{
os
.
getenv
(
'TORCH_CUDA_ARCH_LIST'
,
None
)
}
"
)
print
(
f
"System Arch List:
{
os
.
getenv
(
'TORCH_CUDA_ARCH_LIST'
,
None
)
}
"
)
print
(
f
"System OMP_NUM_THREADS:
{
os
.
getenv
(
'OMP_NUM_THREADS'
,
None
)
}
"
)
print
(
f
"System OMP_NUM_THREADS:
{
os
.
getenv
(
'OMP_NUM_THREADS'
,
None
)
}
"
)
print
(
f
"System CUDA_HOME is None:
{
os
.
getenv
(
'CUDA_HOME'
,
None
)
is
None
}
"
)
print
(
f
"System CUDA_HOME is None:
{
os
.
getenv
(
'CUDA_HOME'
,
None
)
is
None
}
"
)
print
(
f
"Python Version:
{
sys
.
version
}
"
)
if
__name__
==
'__main__'
:
env
()
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