Observed since 20 Oct, 19:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Adaptive milling plugins for fibsemOS
Adaptive milling plugins for fibsemOS. This package currently contains:
Adaptive Milling is available from PyPI and can be installed via the following steps:
Decide where you want to create your Python virtual environment and open a terminal in that location.
Follow the one of the sets of instructions below. We recommend using 'uv' as it handles installing the appropriate torch backend automatically.
Create a desktop shortcut for AutoLamella (fibsemOS GUI). With the virtual environment activated, run the appropriate command for you operating system:
:: Windows Command Prompt (not PowerShell): creates AutoLamella.bat
echo @echo off > AutoLamella.bat & where fibsem-autolamella-ui >> AutoLamella.bat
# Linux / macOS terminal: creates AutoLamella.sh
printf '#!/bin/bash\n%s' $(which fibsem-autolamella-ui) > AutoLamella.sh
chmod +x AutoLamella.sh
Then create a shortcut to the script and place it on your desktop.
# Create a virtual environment (Python 3.11 to match AutoScript's environment)
uv venv --python 3.11
# Activate the virtual environment (Windows)
.venv\Scripts\activate
# Install including AutoLamella from fibsemOS with the appropriate PyTorch backend for your machine
uv pip install adaptive-milling[ui] --torch-backend auto
To activate the virtual environment on Linux systems: source .venv/bin/activate
# Create a virtual environment (Python 3.11 to match AutoScript's environment)
conda create -p ./.venv python=3.11 pip
# Activate the virtual environment
conda activate ./.venv
# Install PyTorch (select appropriate compute platform, see table below)
python -m pip install torch torchvision --index-url <Index URL>
# Install including AutoLamella from fibsemOS
python -m pip install adaptive-milling[ui]
If using CUDA, the version must be below or equal to the the system CUDA version, which can be checked with the command nvidia-smi.
| Compute Platform | Index URL |
|---|---|
| CPU | https://download.pytorch.org/whl/cpu |
| CUDA 11.3 | https://download.pytorch.org/whl/cu113 |
| CUDA 11.8 | https://download.pytorch.org/whl/cu118 |
| CUDA 12.6 | https://download.pytorch.org/whl/cu126 |
| CUDA 12.8 | https://download.pytorch.org/whl/cu128 |
Please see the user guide.
Models are available from zenodo: https://zenodo.org/records/21804785. We currently recommend using AM_SEM_All_V01.pth (download link).
If you wish to train your own segmentation models that are compatible with Adaptive Milling, or refine existing ones with new data, please use the package AM-model-training, also available on PyPI. We encourage you to contribute your models and training data back to the project so that others may share the benefit. To do this, please contact casper.berger@rfi.ac.uk.
You can run the package tests using pytest:
uv run pytest
Please use the GitHub issue tracker to submit bugs or request features.
If you would like to help contribute to project, please read our contribution guide and code of conduct.
If you would like to contribute data towards training new segmentation models, please contact casper.berger@rfi.ac.uk.
Copyright Rosalind Franklin Institute, 2024.
Distributed under the terms of the Apache-2.0 license with "Commons Clause" License Condition v1.0, see the license for further details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.4.2 | 25 Sept 2026 | 18 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 19:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:71371e6743bdb8eacd7dd9a6b3b3dc4e0c0d3d7b56f8ebc99b9f621f1fdc4b22