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
torch-scatter
Commits
32cce985
"git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "7cc369687edb071282a634758278ed43b4cd191d"
Commit
32cce985
authored
May 01, 2019
by
rusty1s
Browse files
update to 1.1.0
parent
21478411
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
.travis.yml
.travis.yml
+3
-3
test/utils.py
test/utils.py
+2
-0
No files found.
.travis.yml
View file @
32cce985
...
@@ -17,9 +17,9 @@ before_install:
...
@@ -17,9 +17,9 @@ before_install:
-
export CC="gcc-4.9"
-
export CC="gcc-4.9"
-
export CXX="g++-4.9"
-
export CXX="g++-4.9"
install
:
install
:
-
if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.
0
.0-cp27-cp27mu-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.
1
.0-cp27-cp27mu-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.
0
.0-cp35-cp35m-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.
1
.0-cp35-cp35m-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.
0
.0-cp36-cp36m-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.
1
.0-cp36-cp36m-linux_x86_64.whl; fi
-
pip install pycodestyle
-
pip install pycodestyle
-
pip install flake8
-
pip install flake8
-
pip install codecov
-
pip install codecov
...
...
test/utils.py
View file @
32cce985
...
@@ -2,8 +2,10 @@ import torch
...
@@ -2,8 +2,10 @@ import torch
from
torch.testing
import
get_all_dtypes
from
torch.testing
import
get_all_dtypes
dtypes
=
get_all_dtypes
()
dtypes
=
get_all_dtypes
()
dtypes
.
remove
(
torch
.
half
)
dtypes
.
remove
(
torch
.
half
)
dtypes
.
remove
(
torch
.
short
)
# PyTorch scatter does not work on short types.
dtypes
.
remove
(
torch
.
short
)
# PyTorch scatter does not work on short types.
dtypes
.
remove
(
torch
.
bool
)
grad_dtypes
=
[
torch
.
float
,
torch
.
double
]
grad_dtypes
=
[
torch
.
float
,
torch
.
double
]
...
...
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