{ "info": { "author": "Philipp Hanslovsky", "author_email": "hanslovskyp@janelia.hhmi.org", "bugtrack_url": null, "classifiers": [], "description": "# Paintera Interactive Agglomeration Server\n\n`pias` provides a server for interactive updates of a [`nifty`](https://github.com/DerThorsten/nifty)-based agglomeration model for fragments in EM segmentation (but could probably be used in other scenarios, as well). Clients provide positive (two fragments are in the same segment) and negative (two fragments should not be in the same segment) examples for edges (fragment-pairs). Random forest classifiers are trained on these examples to infer weights for all edges of neighboring fragments in a *multi-cut* problem (constraints for the enforcement of positive/negative examples provided by the client is modeled via appropriate weights).\n\n## Installation\n\nThe minimum python version is `3.6`.\n\nBesides the packages specified in `setup.py`, you will need to install the following packages that are not installable via pip:\n - [`nifty`](https://github.com/DerThorsten/nifty) available on conda through the `cpape` channel\n - [`z5py`](https://github.com/constantinpape/z5) available on conda through the `conda-forge` channel\n\nYou can install these dependencies through conda via the aforementioned channels. Otherwise, follow the build instructions on the linked github repositories.\n\nIf you do not install `pyzmq` through `conda` make sure that [`libzmq`](https://github.com/zeromq/libzmq) is installed on your system.\n\n``` shell\npip install git+https://github.com/saalfeldlab/pias\n```\n\n## Server Details\n\n\n[`pyzmq`](https://github.com/zeromq/pyzmq) is used for communication between server and client. Data should be sent as big endian. The server can be started with the `pias` command that is installed with the python package. See `pias --help` for usage details. Once started, the server will start multiple sockets, addressed by extensions of the `address_base` parameter:\n\n - `${address_base}-ping` - ping the server at this address to see if it is alive (`REQ/REP`)\n - `${address_base}-current-solution` - request current solution (`REQ/REP`)\n - `${address_base}-set-edge-labels` - set labels for edges: (multiples of) `(e1, e2, label)` (`REQ/REP`) where label is one of `{0, 1}`\n - `${address_base}-update-solution` - request update of current solution (`REQ/REP`)\n - `${address_base}-new-solution` - be notified about updates of the current solution (`PUB/SUB`)\n\n**NOTE**: This scheme probably works (reliably) with `ipc://` zmq-addresses.\n\n\n### Socket Details\n\n**TBD**: *What kind of input/output does each socket expect/provide?*", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/saalfeldlab/pias", "keywords": "", "license": "Public domain", "maintainer": "", "maintainer_email": "", "name": "pias", "package_url": "https://pypi.org/project/pias/", "platform": "", "project_url": "https://pypi.org/project/pias/", "project_urls": { "Homepage": "https://github.com/saalfeldlab/pias" }, "release_url": "https://pypi.org/project/pias/0.1.0.dev0/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Interactive agglomeration scheme for paintera", "version": "0.1.0.dev0" }, "last_serial": 4875504, "releases": { "0.1.0.dev0": [ { "comment_text": "", "digests": { "md5": "bb03d2685c2a40d3727b8436b05502a8", "sha256": "8e65d8245c6d9f90094483aae8aa2966835ed57fffaefd4686db2d9898371a0f" }, "downloads": -1, "filename": "pias-0.1.0.dev0.tar.gz", "has_sig": false, "md5_digest": "bb03d2685c2a40d3727b8436b05502a8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 13141, "upload_time": "2019-02-27T18:15:21", "url": "https://files.pythonhosted.org/packages/96/f4/18b189c116adada15e8ab46b24227ad6b3f9938f2b20e76a59a0827cb7fe/pias-0.1.0.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bb03d2685c2a40d3727b8436b05502a8", "sha256": "8e65d8245c6d9f90094483aae8aa2966835ed57fffaefd4686db2d9898371a0f" }, "downloads": -1, "filename": "pias-0.1.0.dev0.tar.gz", "has_sig": false, "md5_digest": "bb03d2685c2a40d3727b8436b05502a8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 13141, "upload_time": "2019-02-27T18:15:21", "url": "https://files.pythonhosted.org/packages/96/f4/18b189c116adada15e8ab46b24227ad6b3f9938f2b20e76a59a0827cb7fe/pias-0.1.0.dev0.tar.gz" } ] }