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-spline-conv
Commits
736354b1
Commit
736354b1
authored
Aug 07, 2018
by
rusty1s
Browse files
installation updates
parent
de879592
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
README.md
README.md
+16
-3
No files found.
README.md
View file @
736354b1
...
...
@@ -21,14 +21,27 @@ The operator works on all floating point data types and is implemented both for
## Installation
If cuda is available, check that
`nvcc`
is accessible from your terminal, e.g. by typing
`nvcc --version`
.
If not, add cuda (
`/usr/local/cuda/bin`
) to your
`$PATH`
.
Ensure that at least PyTorch 0.4.1 is installed and verify that
`cuda/bin`
and
`cuda/install`
are in your
`$PATH`
and
`$CPATH`
respectively,
*e.g.*
:
```
$ python -c "import torch; print(torch.__version__)"
>>> 0.4.1
$ echo $PATH
>>> /usr/local/cuda/bin:...
$ echo $CPATH
>>> /usr/local/cuda/install:...
```
Then run:
```
pip install
cffi
torch-spline-conv
pip install torch-spline-conv
```
If you are running into any installation problems, please create an
[
issue
](
https://github.com/rusty1s/pytorch_spline_conv/issues
)
.
## Usage
```
python
...
...
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