PartiNet / README.md
MihinP's picture
Update README.md
9e990f9 verified
|
Raw History Blame
1.37 kB
metadata
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

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):
git lfs install
git clone https://huggingface.co/MihinP/PartiNet
# weights will be pulled via LFS
  • Using the Hugging Face Python client
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:
partinet detect --weight /path/to/best.pt --source /data/denoised --project /data/partinet_project

Contact and support