Skip to content

Commit 7c24349

Browse files
committed
Add README
1 parent 7b63bdb commit 7c24349

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SlicerPyTorch
2+
3+
This is the code for the `PyTorch` extension for [3D Slicer](https://www.slicer.org/).
4+
5+
Its main function is to install [PyTorch](https://pytorch.org/) inside Slicer. The latest version compatible with the installed drivers will be selected automatically.
6+
7+
PyTorch can be installed opening the `PyTorch Utils` module and clicking on the button, or programmatically:
8+
9+
```python
10+
import PyTorchUtils
11+
torch = PyTorchUtils.PyTorchUtilsLogic().torch # will be installed if necessary
12+
tensor = torch.rand(50, 60)
13+
```

0 commit comments

Comments
 (0)