Comments (5)
this error comes from a super big neuron (id: 76197), which expands to the whole range of XY section!
from realneuralnetworks.jl.
suggestions from @nicholasturner1
I'd try the same thing I mentioned before - compare `prod(max_dims)` to the max index into the sparse vector (`maximum(Int[sub2ind(max_dims, points[i,:]... ) for i=1:num_points ])`) (edited)
[10:43]
the `prod` value should always be greater than or equal to the other one unless the indexing scheme is somehow wrong
indeed, it is this problem.
max_dims = (3276,975,1750)
ERROR: LoadError: AssertionError: prod(max_dims) > maximum(Int[sub2ind(max_dims,points[i,:]...) for i = 1:num_points])
in create_node_lookup(::Array{UInt32,2}) at /home/nico/.julia/v0.5/RealNeuralNetworks/src/NodeNets.jl:349
in #NodeNet#3(::Array{Float64,1}, ::RealNeuralNetworks.NodeNets.#alexs_penalty, ::Tuple{UInt32,UInt32,UInt32}, ::Type{T},
::Array{UInt32,2}) at /home/nico/.julia/v0.5/RealNeuralNetworks/src/NodeNets.jl:74
in (::Core.#kw#Type)(::Array{Any,1}, ::Type{RealNeuralNetworks.NodeNets.NodeNet}, ::Array{UInt32,2}) at ./<missing>:0
in macro expansion at ./util.jl:188 [inlined]
in trace(::RealNeuralNetworks.Manifests.Manifest, ::Int64) at /home/nico/.julia/v0.5/RealNeuralNetworks/src/Manifests.jl:7
8
in #trace#1(::String, ::String, ::UInt32, ::Function, ::Int64) at /home/nico/.julia/v0.5/RealNeuralNetworks/scripts/skelet
onize.jl:20
in (::#kw##trace)(::Array{Any,1}, ::#trace, ::Int64) at ./<missing>:0
in main() at /home/nico/.julia/v0.5/RealNeuralNetworks/scripts/skeletonize.jl:94
in include_from_node1(::String) at ./loading.jl:488
in process_options(::Base.JLOptions) at ./client.jl:265
in _start() at ./client.jl:321
while loading /home/nico/.julia/v0.5/RealNeuralNetworks/scripts/skeletonize.jl, in expression starting on line 99
from realneuralnetworks.jl.
You mentioned that your chunk size is (512,512,512) before, and that the coordinates were local. If that's the case, the maximum possible value of max_dims should be (512,512,512), since it should be the maximum value in each dimension of the passed coordinates. Perhaps you're just making the data structures for the graph once you've finished chunk-wise processing.
from realneuralnetworks.jl.
You're using UInt32
, so this is another overflow problem. prod(3276,975,1750) > typemax(UInt32)
from realneuralnetworks.jl.
exactly, this is overflow. but not because the 512x512x512, but because the neuron spans a big space and the max_dims is too big.
prod((3276,975,1750)) > Int(typemax(UInt32)) = true
from realneuralnetworks.jl.
Related Issues (20)
- eliminate the segments with single point HOT 1
- transforming from NodeNet to Neuron increases the node number HOT 1
- there exists some point with more than one parent HOT 1
- skeletonization is broken HOT 1
- skeleton is not aligned with the mesh HOT 2
- multiple synapses can not attach to same node HOT 1
- load secret key from cloudvolume secret file
- read swc/swc.bin file will ignore the node class
- NBLAST metric with axon and dendrite compared separately HOT 1
- only compute NBLAST score from small neuron to large neuron HOT 1
- differentiate the score table of axon and dendrite
- segment based NBLAST
- eachcol is not working expectedly HOT 1
- self touching could create errors
- Error tagging new release HOT 7
- registration HOT 3
- Package status? HOT 4
- replace findn(A) with findall(!iszero, A)
- Failure to Precompile - Dependency Issue? HOT 4
- @JuliaRegistrator register HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realneuralnetworks.jl.