|
Download README.md from MihinP/PartiNet: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/MihinP/PartiNet/resolve/main/README.md
- Command line
-
hf download hf://MihinP/PartiNet/README.md
-
curl -L -o README.md https://huggingface.co/MihinP/PartiNet/resolve/main/README.md
1.37 kB
| 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 | |