-
Notifications
You must be signed in to change notification settings - Fork 44
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
Problems running the program #9
Comments
I just updated the code. Feel free to let me know if the error still pops up. |
Thank you very much for your quick reply. Now there is another problem is that the "jldopen" of the function "loadregion" in "SpatialRegionTools.jl" reports an error.The error message is as follows. ERROR: LoadError: UndefVarError: jldopen not defined Stacktrace: [1] loadregion!(::SpatialRegion, ::String) at /home/workplace/t2v ec-master/t2vec-master/preprocessing/SpatialRegionTools.jl:355I guess there are fewer dependencies that cause this. But I only found from the julia package using JLD2 this function can be used.But porto-vocab-dist-cell100 is not a JLD file |
Are you running the latest code? I have removed the usage of |
Sorry, I didn't make it clear.I still get an error when running the command "julia createTest.jl". The error location is line 15 of "createTest.jl" ERROR: LoadError: UndefVarError: jldopen not defined Stacktrace: [1] loadregion!(::SpatialRegion, ::String) at /home/workplace/t2v ec-master/t2vec-master/preprocessing/SpatialRegionTools.jl:355 [2] top-level scope at /home/workplace/t2vec-master/t2vec-master/ experiment/createTest.jl:15Thank you very much for your answer. |
It seems I forgot to update the |
Thank you very much for your reply and help. There are no problems running the code, thank you very much.Sincerely wish you! |
Dear @boathit,
我在运行程序到experiment的 “julia createTest.jl”,出现一个错误:
ERROR: LoadError: LoadError: UndefVarError: T not defined
...
in expression starting at /home/workplace/t2vec-master/t2vec-maste r/experiment/utils.jl:160
...
这个错误出现的定位在这个函数 ranksearch{T<:Real}(query::Matrix{T},
queryLabel::Vector{Int},
db::Matrix{T},
dbLabel::Vector{Int})
我去掉了{T<:Real}时,出现了
ERROR: LoadError: UndefVarError: jldopen not defined
在SpatialRegionTools中的function loadregion中
jldopen(paramfile, "r") do f
...
我认为是环境配置错误,但是我尝试将julia从1.0.0到1.0.5到1.1.0,和目前1.3.0尝试的过程中都出现这个错误,我对于Julia不是很熟,我想请问一下您这是什么问题。非常感谢您在百忙中给我回复。
Thank you in advance,
The text was updated successfully, but these errors were encountered: