-
Notifications
You must be signed in to change notification settings - Fork 33
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
ERROR: Package LIBSVM errored during testing (exit code: 3221226356) #103
Comments
@WuSiren Thanks for reporting, but could you please provide more context as below. I am not able to reproduce the fail in this context:
|
The version of LIBSVM is julia> versioninfo()
Julia Version 1.9.0
Commit 8e63055292 (2023-05-07 11:25 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
Threads: 1 on 8 virtual cores
Environment:
JULIA_IMAGE_THREADS = 1
JULIA_EDITOR = code
JULIA_NUM_THREADS = |
And I fail to run even the simplest example: # Training data
X = [-2 -1 -1 1 1 2;
-1 -1 -2 1 2 1]
y = [1, 1, 1, 2, 2, 2]
# Testing data
T = [-1 2 3;
-1 2 2]
# Precomputed matrix for training (corresponds to linear kernel)
K = X' * X
model = svmtrain(K, y, kernel=Kernel.Precomputed) The editor (VS Code) reports:
|
And nothing changes after I remove and reinstall this package. |
It works well under Julia v1.10.3. |
OK, thank you very much! @ablaom 🤝 Anyway, I've upgraded to Julia1.10. |
The fix (JuliaLang/julia#50135) was backported and released with julia 1.9.2. I am not against bumping the compatible julia version. An alternative might be to raise a warning for the affected users: if Sys.iswindows() and (v"1.8.3" < VERSION < v"1.9.2")
@warn "LIBSVM is known to error under the current Julia version. Consider upgrading to Julia 1.9.2 (see https://github.com/JuliaML/LIBSVM.jl/issues/95)."
end (Speaking of bumping versions -- we haven't made a release (8.0.1) with the LIBLINEAR version bumped to 0.7. Should we release that?) |
That would be nice.
Ah, thanks for that. I see @WuSiren was indeed using 1.9.0. In that case I don't think we need to take any further action and can close this. I think it's fair to assume users are using the latest patch of any package. |
Alright. Closing as duplicate of #95. |
It reports an error when I
test LIBSVM
.The text was updated successfully, but these errors were encountered: