File size: 1,373 Bytes
4d2076f
 
 
 
97fedc4
 
 
4d2076f
97fedc4
9e990f9
97fedc4
e6b489e
97fedc4
 
 
4d2076f
e6b489e
97fedc4
4d2076f
97fedc4
e6b489e
97fedc4
 
 
 
 
 
 
 
 
 
 
 
9e990f9
97fedc4
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
license: mit
---

# PartiNet Model Weights
This repo holds pretrained PartiNet weights (PyTorch `.pt` files) used by the PartiNet detection pipeline.
We recommend using `git lfs` or the `huggingface_hub` client to download weights.

# Links
- Documentation: https://wehi-researchcomputing.github.io/PartiNet/
- Main software: https://github.com/WEHI-ResearchComputing/PartiNet

# Available files
- `denoised_micrographs.pt` — recommended picking on micrographs denoised with PartiNet
- `raw_micrographs.pt` — picking on raw motion-corrected micrographs


# Downloading weights

- Using git (requires Git LFS):

```powershell
git lfs install
git clone https://huggingface.co/MihinP/PartiNet
# weights will be pulled via LFS
```

- Using the Hugging Face Python client

```powershell
pip install huggingface_hub
python - <<'PY'
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="MihinP/PartiNet", filename="denoised_micrographs.pt")
print(path)
PY
```

# Using the weights with PartiNet

- Point the `--weight` parameter to the downloaded `.pt` file when running the CLI:

```powershell
partinet detect --weight /path/to/best.pt --source /data/denoised --project /data/partinet_project
```

Contact and support
- For issues using the weights, open an issue in the main software repo: https://github.com/WEHI-ResearchComputing/PartiNet/issues