You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two issues: first, cargo build --examples doesn't work because the label in Cargo.toml is [[example]] instead of [[examples]] as it should be. Fixing that manually leads to the following errors:
$ cargo build --examples
warning: unused manifest key: examples
Compiling neuronika v0.2.0 (/home/john/umbc/git/neuronika)
warning: unused import: `self`
--> examples/quickstart.rs:4:10
|
4 | nn::{self, loss, Learnable, Linear, ModelStatus},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0277]: the trait bound `NeuralNetwork: serde::de::Deserialize<'_>` is not satisfied
--> examples/quickstart.rs:56:9
|
56 | } = serde_json::from_str(
| ^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `NeuralNetwork`
|
note: required by a bound in `serde_json::from_str`
--> /home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/de.rs:2611:8
|
2611 | T: de::Deserialize<'a>,
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str`
For more information about this error, try `rustc --explain E0277`.
warning: `neuronika` (example "quickstart") generated 1 warning
error: could not compile `neuronika` due to previous error; 1 warning emitted
I'm super excited for this library and it's chance to build portable, cross-platform binaries that can train RNNs, CNNs, and feed-forward networks.
The text was updated successfully, but these errors were encountered:
Two issues: first,
cargo build --examples
doesn't work because the label in Cargo.toml is[[example]]
instead of[[examples]]
as it should be. Fixing that manually leads to the following errors:I'm super excited for this library and it's chance to build portable, cross-platform binaries that can train RNNs, CNNs, and feed-forward networks.
The text was updated successfully, but these errors were encountered: