Update README.md
Browse files
README.md
CHANGED
|
@@ -3,6 +3,20 @@ license: bsd-2-clause
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# Load model
|
| 7 |
```python
|
| 8 |
import torch
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
+
FragNet is available on GitHub: https://github.com/pnnl/FragNet
|
| 7 |
+
|
| 8 |
+
To install FragNet, run the following commands:
|
| 9 |
+
|
| 10 |
+
```bash
|
| 11 |
+
git clone https://github.com/pnnl/FragNet.git
|
| 12 |
+
cd FragNet
|
| 13 |
+
# make sure a python virtual environment is activated
|
| 14 |
+
pip install --upgrade pip
|
| 15 |
+
pip install -r requirements.txt
|
| 16 |
+
pip install torch-scatter -f https://data.pyg.org/whl/torch-2.4.0+cpu.html
|
| 17 |
+
pip install .
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
# Load model
|
| 21 |
```python
|
| 22 |
import torch
|