Dafne

Latest version: v1.9a2

Safety actively analyzes 706487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.4alpha

This release sees minor bugfixes and updated libraries in the distribution, but most importantly, it now features a "Model browser". Dafne is ready to host many new segmentation models!

A spine model is already available, and a kidney model is coming soon. Enable the new models from the model browser, accessible from the "Tools" menu.

1.3alpha2

In this release, some small modification in the image preprocessing pipeline before segmentation are introduced, and the performance is improved in case of highly inhomogeneous signal. I recommend upgrading for best incremental learning performance.

Mac arm64 version coming in the next few days.

1.3alpha

This is the first binary release after a major refactoring of the code for pip installation.
If you are familiar with Python, I recommend installing dafne with pip with

pip install dafne

The Mac versions seem to work now. Please download the one corresponding to your architecture.

Noticeable changes
- Mask interpolation. When a slice above and below are segmented, Dafne can interpolate the ROI using simple interpolation, registration-based interpolation, or a combination of both.
- New mask to contour algorithm. This algorithm produces much simpler contours. However, it is slower than the previous one.
- More adaptable UI.

1.1alpha7

This is a release that unifies and improves the installation packages. Now the Mac installation package is signed and can be installed like a normal Mac application. A Linux stand-alone executable is provided. Just download the `dafne_linux_1.1-alpha7` file and execute it directly from Linux.

**All binary distributions, including the Mac one, are for the x64 architecture.**

New logfile system

The output is now saved by default to log files. They are visible from within the interface from the menu Help -> Show Logs.
When reporting a bug, please include the log files called `dafne_output.log` and `dafne_error.log` (make sure that no sensitive information is contained inside!). The log files can be found at the following locations:

* **Windows**: `C:\Users\<user>\AppData\Local\Dafne-imaging\Dafne\Cache`
* **Mac**: `/Users/<user>/Library/Caches/Dafne/`
* **Linux**: `/home/<user>/.cache/Dafne/`

1.1alpha6

This release fixes a bug in the packaging for Mac. Only the Mac version is released.

Mac installation
Decompress the .zip file and run the `dafne` program from the unzipped folder.

**Important note for Mac users:** if you download the zip file from github, the system will ask to enter security exceptions for every binary file included in the distribution, because the binaries are not signed. This is too much to do by hand. Either install Dafne from source, or temporarily disable the access control with the following procedure:
1. Open a terminal window.
2. Run the command `sudo spctl --master-disable` (it will ask for your password).
3. Run Dafne once by executing the `dafne` file.
4. Run the `calc_transforms` command as well.
5. Re-enable the protection by running the following command in a terminal: `sudo spctl --master-enable`

**If this doesn't work!** download the zip file not from your browser but from the command line using curl:

`curl -LJO https://github.com/dafne-imaging/dafne/releases/download/1.1-alpha6/dafne_mac_1.1-alpha6.zip`

1.1alpha5

Update to the tensorflow library and keras compatibility;
bugfix on image loading when directories present.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.