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
Unable to compile example in stand-alone repository using main due to Serde error #103
Comments
Hi, thanks for the interest in the project, I strongly recommend to pull neuronika as follows:
Currently the whole codebase is going through a rework, with many improvement and the addition of CUDA support. When it's ready I'll probably yank the 0.2.0 version. Apologies. |
I'm afraid it doesn't look like this fixes the issue. Thanks for your consideration, but since it sounds like you're doing a lot of re-factoring at the moment (really looking forward to the features you mentioned landing!), I'll probably just wait until the next release to really start digging in. |
How are you running the example? You should be using |
I think we've had a miscommunication. When I clone the However, when I create a new repository [dependencies]
neuronika = {git = "https://github.com/neuronika/neuronika.git", branch = "main", features = ["serialize"]}
ndarray = {version = "0.15.4", features = ["rayon"]}
serde_json = "1.0.72"
serde = {version = "1.0.130", features = ["derive"]} which should import the |
Got it. Yes, that's a problem. Would you be able to look into it? Unfortunately, I'll be quite busy for the next couple of weeks. |
Apologies for the delay! Yes, I'll try to take a look at this over the next few days |
Just ran into the same error too. Was it resolved? Thanks. |
@phatware does the following work? |
yes, this command works, however creating a new project and using code similar to fails with the same error as described before. |
got it. What does your |
it looks the same as posted by @quietlychris above, + a few other unrelated dependencies |
@phatware try this for_pathware.zip, it works for me. Also, forgive me for not taking care of the project in the last few months but I have been very very busy with other stuff. If you are interested in the library do note that soon (around or before October) a big rework of the project with GPU support will land on main. You can check it out at the variable-rework branch. Also forgive me for misspelling your nickname! |
This worked, thank you. Appreciate quick response. Cheers. |
I got the same issue, and it is solved by your zip, thanks. |
Hello,
I tried building the
quickstart
example in a stand-alone project today, and was unable to do so. I've tested that cloningneuronika
off themain
branch builds (and the example runs), but when pulling it in as a dependency, I am consistently running into the errorRunning this code with
0.2
doesn't seem feasible due to what I'm assuming are updated trait bounds aroundOverwrite
.My
Cargo.toml
file has the following configuration, based onneuronika
main's:I am compiling with
rustc 1.60.0-stable
on an x86 platform using Pop!_OS 21.04.I'm very interested in this library, and would love to experiment with starting to solve basic classification problem like MNIST or CIFAR-10 with it. Any advice on how I might be able to resolve these issues would be greatly appreciated. Thanks for your time!
The text was updated successfully, but these errors were encountered: