Skip to content
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

Sampling Text #217

Open
invaderxyz opened this issue Jun 16, 2018 · 3 comments
Open

Sampling Text #217

invaderxyz opened this issue Jun 16, 2018 · 3 comments

Comments

@invaderxyz
Copy link

So, in order to sample something, you need to put:
$ th sample.lua cv/lm_lstm_epoch0.02_3.3272.t7 -gpuid -1

But... where, exactly?
Every time I run sample.lua in ZeroBraneStudio; it starts and ends the program before I get the chance to input anything. Am I doing something wrong?

(Keep in mind, I am completely new to this; I just wanted to mess around with one of these...)

@Zemaaan
Copy link

Zemaaan commented Mar 27, 2020

First you need to train the network using train.lua file.

Then you use terminal on Linux, and you type in your command and press enter.

@invaderxyz
Copy link
Author

Ah, so this is Linux only then? I managed to get it running on Windows (though on my old computer since this was two years ago :p) but I couldn't figure out how to perform the Windows equivalent.

@Zemaaan
Copy link

Zemaaan commented Mar 29, 2020

Well it's certainly easier to make it run on Linux than on Windows.

You should also be aware that you cant compile Torch on CUDA10 since Torch doesen't support it, so you will have to use CUDA 9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants