fspaolo / misc-code Goto Github PK
View Code? Open in Web Editor NEWSome old miscellaneous source code
Home Page: http://fpaolo.com
Some old miscellaneous source code
Home Page: http://fpaolo.com
I run the file mri.py in
Mac OS 10.12.4
Python 2.7.12
VTK 6.3.0
Traits 4.6.0
but it crashed in
voi = mlab.pipeline.extract_grid(blur)
Do you know how to fix it?
Python 2.7.12 |Anaconda 4.2.0 (x86_64)| (default, Jul 2 2016, 17:43:17)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.orgrunfile('/Users/ruiwendaier/Documents/Application/exampleFiles/mri.py', wdir='/Users/ruiwendaier/Documents/Application/exampleFiles')
ERROR: In /Users/ilan/minonda/conda-bld/work/VTK-6.3.0/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx, line 857
vtkCompositeDataPipeline (0x12a870390): The update extent specified in the information for output port 0 on algorithm vtkImageGaussianSmooth(0x12a3d2540) is 0 2147483647 0 2147483647 0 2147483647, which is outside the whole extent 0 255 0 255 0 108.python(57268,0x70000c092000) malloc: *** mach_vm_map(size=13835058045618487296) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
ERROR: In /Users/ilan/minonda/conda-bld/work/VTK-6.3.0/Common/Core/vtkDataArrayTemplate.txx, line 142
vtkUnsignedShortArray (0x12ab0cd40): Unable to allocate 6917529022809243648 elements of size 2 bytes.libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
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.