Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem:julia preprocess.jl #11

Open
huangrui28 opened this issue Mar 17, 2020 · 1 comment
Open

problem:julia preprocess.jl #11

huangrui28 opened this issue Mar 17, 2020 · 1 comment

Comments

@huangrui28
Copy link

huangrui28 commented Mar 17, 2020

hello, when i run:julia preprocess.jl
ERROR: LoadError: AssertionError: Build index for region first
Stacktrace:
[1] cell2vocab at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/SpatialRegionTools.jl:261 [inlined]
[2] gps2vocab(::SpatialRegion, ::Float64, ::Float64) at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/SpatialRegionTools.jl:281
[3] trip2seq(::SpatialRegion, ::Array{Float64,2}) at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/SpatialRegionTools.jl:288
[4] (::getfield(Main, Symbol("##21#23")){Int64,Int64,Int64,SpatialRegion,typeof(downsamplingDistort),Int64,Int64,getfield(Main, Symbol("#seq2str#22"))})(::HDF5File) at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/SpatialRegionTools.jl:324
[5] #h5open#5(::Bool, ::Function, ::getfield(Main, Symbol("##21#23")){Int64,Int64,Int64,SpatialRegion,typeof(downsamplingDistort),Int64,Int64,getfield(Main, Symbol("#seq2str#22"))}, ::String, ::Vararg{String,N} where N) at /Users/huangrui/.julia/packages/HDF5/Zh9on/src/HDF5.jl:683
[6] h5open at /Users/huangrui/.julia/packages/HDF5/Zh9on/src/HDF5.jl:681 [inlined]
[7] #createTrainVal#20(::Int64, ::Int64, ::Int64, ::Function, ::SpatialRegion, ::String, ::typeof(downsamplingDistort), ::Int64, ::Int64) at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/SpatialRegionTools.jl:318
[8] createTrainVal(::SpatialRegion, ::String, ::Function, ::Int64, ::Int64) at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/SpatialRegionTools.jl:317
[9] top-level scope at none:0
[10] include at ./boot.jl:317 [inlined]
[11] include_relative(::Module, ::String) at ./loading.jl:1044
[12] include(::Module, ::String) at ./sysimg.jl:29
[13] exec_options(::Base.JLOptions) at ./client.jl:266
[14] _start() at ./client.jl:425
in expression starting at /Users/huangrui/app/python_projects/t2vec-master/preprocessing/preprocess.jl:55

the version of julia is 1.0.5

@huangrui28 huangrui28 changed the title hello, when i run:julia preprocess.jl hello, when i run:julia preprocess.jl Mar 17, 2020
@huangrui28 huangrui28 changed the title hello, when i run:julia preprocess.jl hello, when i run:julia preprocess.jl , Mar 17, 2020
@huangrui28 huangrui28 changed the title hello, when i run:julia preprocess.jl , problem:julia preprocess.jl Mar 17, 2020
@huangrui28
Copy link
Author

All right, I'll upgrade the julia version to 1.3 and it's ready to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant