LaurentMazare / tch-rs

Rust bindings for the C++ api of PyTorch.
Apache License 2.0
4.33k stars 344 forks source link

Help char-rnn example #614

Closed tetuaoro closed 1 year ago

tetuaoro commented 1 year ago

Hi all,

How to use the char-rnn example ? char-rnn

I saved the input.txt file in the data folder and ran cargo run --example char-rnn, the log output said :Dataset loaded, 65 labels.. After several hours, nothing happens !

tetuaoro commented 1 year ago

Hi all,

How to use the char-rnn example ? char-rnn

I saved the input.txt file in the data folder and ran cargo run --example char-rnn, the log output said :Dataset loaded, 65 labels.. After several hours, nothing happens !

After adding some println!, I found it ! My laptop is just too slow xD !