turagalab / malis Goto Github PK
View Code? Open in Web Editor NEWMALIS structured loss function for supervised learning of segmentation and clustering
License: MIT License
MALIS structured loss function for supervised learning of segmentation and clustering
License: MIT License
After 'pip install malis', see:
malis/malis_cpp.cpp(4): fatal error C1083: Cannot open include file: 'boost/pending/disjoint_sets.hpp': No such file or directory
Numpy 1.12 dropped support for indexing with floats: https://docs.scipy.org/doc/numpy-1.12.0/release.html#deprecationwarning-to-error
I think malis does this in seg_to_affgraph... I'll provide more details later
So the build process goes ok. I'm sure you will work on this more. I just wanted to point out that as you are assuming numpy
is installed, which seem reasonable, you could add include_dirs = [np.get_include()]
to setup
and this will make sure it picks up numpy
from the right location.
The latest release is from 2016 and new commits were added since then. Are there plans for a release (both git tag and PyPI) anytime soon?
SciPy had breaking changes (without increasing the major version!!!) and previously deprecated aliases from scipy.misc
were removed:
>>> import malis
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/hanslovskyp/my-experiment/0/conda-env/lib/python3.6/site-packages/malis/__init__.py", line 1, in <module>
from .malis import *
File "malis/malis.pyx", line 3, in init malis.malis
ImportError: cannot import name comb
Two possible solutions:
I think (1) is a better solution. I currently do not have the time for a PR (maybe in three weeks), but this could be helpful for others who observe the same issue.
It would be nice for getting this into conda if we could have an official release of this package on PyPI. I would be happy to walk you through what needs to be done for this. Will probably need to do some more cleanup of the setup.py
file first.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.