Strange behaviour - Normalised Cut (on Macbook)

Hi All,
Running this example: http://scikit-image.org/docs/dev/auto_examples/plot_ncut.html#example-plot-n...
On one machine, example works as expected. On my work machine I am getting the following results of normalised cuts example: http://imgur.com/uWmvW2p
Details on machines and what I have tried is below.
Any help appreciated.
Regards,
Michael. --
Macbook 1 (work as expected): -------------------------- OS X Yosmite 10.10.4 Python 2.7.9 install via mac ports skimage.__version__ 0.11.3 install via mac ports
Macbook 2 (strange behaviour) -------------------------- OS X Yosmite 10.10.5 Python 2.7.10 installed via mac ports skimage.__verison__ 0.11.3 installed via mac ports
Things I have tried: 1. Reinstall from source via macports sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* sudo port upgrade -s -n --force py27-scikit-image skimage.__version__: 0.11.3, identical result (http://imgur.com/uWmvW2p)
2. Install latest development verison sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* git clone https://github.com/scikit-image/scikit-image.git cd skikit-image python setup.py build sudo python setup.py install skimage.__version__: 0.12dev, identical result: http://imgur.com/uWmvW2p

Here is some additional info, the following gallery examples work as expected:
RAG Merging: http://scikit-image.org/docs/dev/auto_examples/plot_rag_merge.html RAG Thresholding: http://scikit-image.org/docs/dev/auto_examples/plot_rag_mean_color.html#exam... Drawing Region Adjacency Graphs (RAGs): http://scikit-image.org/docs/dev/auto_examples/plot_rag_draw.html#example-pl...
The last example the viridis wasn't available on 0.11.3 so just reused the cmap in the example
So it appears that only the Normalized Cut example that is exhibiting strange behaviour, on my main machine.
Michael. --
On 2/11/2015 12:02 pm, bricklemacho@gmail.com wrote:
Hi All,
Running this example: http://scikit-image.org/docs/dev/auto_examples/plot_ncut.html#example-plot-n...
On one machine, example works as expected. On my work machine I am getting the following results of normalised cuts example: http://imgur.com/uWmvW2p
Details on machines and what I have tried is below.
Any help appreciated.
Regards,
Michael.
Macbook 1 (work as expected):
OS X Yosmite 10.10.4 Python 2.7.9 install via mac ports skimage.__version__ 0.11.3 install via mac ports
Macbook 2 (strange behaviour)
OS X Yosmite 10.10.5 Python 2.7.10 installed via mac ports skimage.__verison__ 0.11.3 installed via mac ports
Things I have tried:
- Reinstall from source via macports
sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* sudo port upgrade -s -n --force py27-scikit-image skimage.__version__: 0.11.3, identical result (http://imgur.com/uWmvW2p)
- Install latest development verison
sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* git clone https://github.com/scikit-image/scikit-image.git cd skikit-image python setup.py build sudo python setup.py install skimage.__version__: 0.12dev, identical result: http://imgur.com/uWmvW2p

Hello
Can you tell us what numpy, scipy and arpack versions you are using ?
Thanks Vighnesh
On Sunday, November 1, 2015 at 11:35:45 PM UTC-5, bricklemacho wrote:
Here is some additional info, the following gallery examples work as expected:
RAG Merging: http://scikit-image.org/docs/dev/auto_examples/plot_rag_merge.html RAG Thresholding: http://scikit-image.org/docs/dev/auto_examples/plot_rag_mean_color.html#exam... Drawing Region Adjacency Graphs (RAGs): http://scikit-image.org/docs/dev/auto_examples/plot_rag_draw.html#example-pl...
The last example the viridis wasn't available on 0.11.3 so just reused the cmap in the example
So it appears that only the Normalized Cut example that is exhibiting strange behaviour, on my main machine.
Michael.
On 2/11/2015 12:02 pm, brickl...@gmail.com javascript: wrote:
Hi All,
Running this example: http://scikit-image.org/docs/dev/auto_examples/plot_ncut.html#example-plot-n...
On one machine, example works as expected. On my work machine I am getting the following results of normalised cuts example: http://imgur.com/uWmvW2p
Details on machines and what I have tried is below.
Any help appreciated.
Regards,
Michael.
Macbook 1 (work as expected):
OS X Yosmite 10.10.4 Python 2.7.9 install via mac ports skimage.__version__ 0.11.3 install via mac ports
Macbook 2 (strange behaviour)
OS X Yosmite 10.10.5 Python 2.7.10 installed via mac ports skimage.__verison__ 0.11.3 installed via mac ports
Things I have tried:
- Reinstall from source via macports
sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* sudo port upgrade -s -n --force py27-scikit-image skimage.__version__: 0.11.3, identical result (http://imgur.com/uWmvW2p)
- Install latest development verison
sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* git clone https://github.com/scikit-image/scikit-image.git cd skikit-image python setup.py build sudo python setup.py install skimage.__version__: 0.12dev, identical result: http://imgur.com/uWmvW2p

The versions are the same on both machines.
numpy 1.9.2 scipy 0.15.1 arpack - not sure how to find the version, scipy.linalg.__version__ is 0.4.9
On my work machine, I had been mucking around earlier on a local branch of skimage, working on future.graph. As mention below I removed everything from site-packages, I don't think there is anything else lying around.
Regards,
Michael. --
On 3/11/2015 7:55 am, Vighnesh Birodkar wrote:
Hello
Can you tell us what numpy, scipy and arpack versions you are using ?
Thanks Vighnesh
On Sunday, November 1, 2015 at 11:35:45 PM UTC-5, bricklemacho wrote:
Here is some additional info, the following gallery examples work as expected: RAG Merging: http://scikit-image.org/docs/dev/auto_examples/plot_rag_merge.html <http://scikit-image.org/docs/dev/auto_examples/plot_rag_merge.html> RAG Thresholding: http://scikit-image.org/docs/dev/auto_examples/plot_rag_mean_color.html#example-plot-rag-mean-color-py <http://scikit-image.org/docs/dev/auto_examples/plot_rag_mean_color.html#example-plot-rag-mean-color-py> Drawing Region Adjacency Graphs (RAGs): http://scikit-image.org/docs/dev/auto_examples/plot_rag_draw.html#example-plot-rag-draw-py <http://scikit-image.org/docs/dev/auto_examples/plot_rag_draw.html#example-plot-rag-draw-py> The last example the viridis wasn't available on 0.11.3 so just reused the cmap in the example So it appears that only the Normalized Cut example that is exhibiting strange behaviour, on my main machine. Michael. -- On 2/11/2015 12:02 pm, brickl...@gmail.com <javascript:> wrote:
Hi All, Running this example: http://scikit-image.org/docs/dev/auto_examples/plot_ncut.html#example-plot-ncut-py <http://scikit-image.org/docs/dev/auto_examples/plot_ncut.html#example-plot-ncut-py> On one machine, example works as expected. On my work machine I am getting the following results of normalised cuts example: http://imgur.com/uWmvW2p Details on machines and what I have tried is below. Any help appreciated. Regards, Michael. -- Macbook 1 (work as expected): -------------------------- OS X Yosmite 10.10.4 Python 2.7.9 install via mac ports skimage.__version__ 0.11.3 install via mac ports Macbook 2 (strange behaviour) -------------------------- OS X Yosmite 10.10.5 Python 2.7.10 installed via mac ports skimage.__verison__ 0.11.3 installed via mac ports Things I have tried: 1. Reinstall from source via macports sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* sudo port upgrade -s -n --force py27-scikit-image skimage.__version__: 0.11.3, identical result (http://imgur.com/uWmvW2p) 2. Install latest development verison sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage* sudo rm -rf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_image* git clone https://github.com/scikit-image/scikit-image.git <https://github.com/scikit-image/scikit-image.git> cd skikit-image python setup.py build sudo python setup.py install skimage.__version__: 0.12dev, identical result: http://imgur.com/uWmvW2p
participants (2)
-
bricklemacho@gmail.com
-
Vighnesh Birodkar