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
OpenDAS
mmdetection3d
Commits
377597b6
Unverified
Commit
377597b6
authored
Feb 06, 2023
by
Xiang Xu
Committed by
GitHub
Feb 06, 2023
Browse files
[Fix] Adjust the minimum supported python version to 3.7 (#2241)
* upgrade python to 3.7 * Update test.yml * remove
parent
bf9488d7
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
19 deletions
+13
-19
.circleci/test.yml
.circleci/test.yml
+2
-4
.github/workflows/merge_stage_test.yml
.github/workflows/merge_stage_test.yml
+1
-1
docs/en/getting_started.md
docs/en/getting_started.md
+1
-1
docs/zh_cn/getting_started.md
docs/zh_cn/getting_started.md
+1
-1
setup.py
setup.py
+8
-12
No files found.
.circleci/test.yml
View file @
377597b6
...
...
@@ -130,8 +130,7 @@ workflows:
-
dev-1.x
pr_stage_test
:
when
:
not
:
<< pipeline.parameters.lint_only >>
not
:
<< pipeline.parameters.lint_only >>
jobs
:
-
lint
:
name
:
lint
...
...
@@ -167,8 +166,7 @@ workflows:
-
hold
merge_stage_test
:
when
:
not
:
<< pipeline.parameters.lint_only >>
not
:
<< pipeline.parameters.lint_only >>
jobs
:
-
build_cuda
:
name
:
minimum_version_gpu
...
...
.github/workflows/merge_stage_test.yml
View file @
377597b6
...
...
@@ -215,7 +215,7 @@ jobs:
-
name
:
Build MMCV from source
run
:
pip install -e . -v
-
name
:
Install unit tests dependencies
run
:
pip install -r requirements/test.txt
run
:
pip install -r requirements/test
s
.txt
-
name
:
Run unittests and generate coverage report
run
:
|
coverage run --branch --source mmcv -m pytest tests
...
...
docs/en/getting_started.md
View file @
377597b6
...
...
@@ -3,7 +3,7 @@
In this section we demonstrate how to prepare an environment with PyTorch.
MMDetection3D works on Linux, Windows (experimental support) and macOS and requires the following packages:
-
Python 3.
6
+
-
Python 3.
7
+
-
PyTorch 1.6+
-
CUDA 9.2+ (If you build PyTorch from source, CUDA 9.0 is also compatible)
-
GCC 5+
...
...
docs/zh_cn/getting_started.md
View file @
377597b6
...
...
@@ -2,7 +2,7 @@
在本节中,我们将展示如何使用 PyTorch 准备环境。MMDetection3D 支持在 Linux,Windows(实验性支持),MacOS 上运行,它具体需要下列安装包:
-
Python 3.
6
+
-
Python 3.
7
+
-
PyTorch 1.6+
-
CUDA 9.2+(如果您从源码编译 PyTorch,CUDA 9.0 也是兼容的)
-
GCC 5+
...
...
setup.py
View file @
377597b6
# Copyright (c) OpenMMLab. All rights reserved.
import
os
import
platform
import
shutil
...
...
@@ -23,12 +24,6 @@ version_file = 'mmdet3d/version.py'
def
get_version
():
with
open
(
version_file
,
'r'
)
as
f
:
exec
(
compile
(
f
.
read
(),
version_file
,
'exec'
))
import
sys
# return short version for sdist
if
'sdist'
in
sys
.
argv
or
'bdist_wheel'
in
sys
.
argv
:
return
locals
()[
'short_version'
]
else
:
return
locals
()[
'__version__'
]
...
...
@@ -163,7 +158,7 @@ def add_mim_extention():
else
:
return
filenames
=
[
'tools'
,
'configs'
,
'model-index.yml'
]
filenames
=
[
'tools'
,
'configs'
,
'demo'
,
'model-index.yml'
]
repo_path
=
osp
.
dirname
(
__file__
)
mim_path
=
osp
.
join
(
repo_path
,
'mmdet3d'
,
'.mim'
)
os
.
makedirs
(
mim_path
,
exist_ok
=
True
)
...
...
@@ -205,16 +200,16 @@ if __name__ == '__main__':
author_email
=
'zwwdev@gmail.com'
,
keywords
=
'computer vision, 3D object detection'
,
url
=
'https://github.com/open-mmlab/mmdetection3d'
,
packages
=
find_packages
(),
packages
=
find_packages
(
exclude
=
(
'configs'
,
'tools'
,
'demo'
)
),
include_package_data
=
True
,
package_data
=
{
'mmdet3d.ops'
:
[
'*/*.so'
]},
classifiers
=
[
'Development Status ::
4
-
Beta
'
,
'Development Status ::
5
-
Production/Stable
'
,
'License :: OSI Approved :: Apache Software License'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.6'
,
'Programming Language :: Python :: 3.7'
,
'Programming Language :: Python :: 3.8'
,
'Programming Language :: Python :: 3.9'
,
],
license
=
'Apache License 2.0'
,
install_requires
=
parse_requirements
(
'requirements/runtime.txt'
),
...
...
@@ -225,5 +220,6 @@ if __name__ == '__main__':
'optional'
:
parse_requirements
(
'requirements/optional.txt'
),
'mim'
:
parse_requirements
(
'requirements/mminstall.txt'
),
},
ext_modules
=
[],
cmdclass
=
{
'build_ext'
:
BuildExtension
},
zip_safe
=
False
)
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