Skip to content

AI-based center of rotation#69

Open
stang292 wants to merge 6 commits intotomography:mainfrom
stang292:develop
Open

AI-based center of rotation#69
stang292 wants to merge 6 commits intotomography:mainfrom
stang292:develop

Conversation

@stang292
Copy link

  • Added model inference to find_center.py as a new method to detect center of rotation
  • Changes in the main function were in 1) tomocupy recon and 2) tomocupy recon_steps
  • The 3 arguments of the related tiff writer function "write_data_try" are now cached in the memory to be used for model inference

stang292 and others added 6 commits March 14, 2026 21:32
- Extract _find_center, _find_center_ai, _check_use_ai helpers in __main__.py
- _check_use_ai gracefully falls back to vo method if torch is not installed
- Add ValueError in inference.py when --infer-model-path is not set (was silently passing 'none' to torch.load)
- Lazy-import inference_pipeline in find_center.py to avoid hard torch dependency
- Add AI dependencies section to docs/source/install.rst
refactor AI center detection; add install docs and model-path guard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants