facebookresearch / darkforestGo

DarkForest, the Facebook Go engine.
Other
2.1k stars 324 forks source link

Unclear dependencies in readme #2

Closed tommituura closed 8 years ago

tommituura commented 8 years ago

Hi,

I'm trying to follow the instructions to install the dependencies:

  1. Install torch7.
  2. Install luarocks: class, image, tds, cudnn

But none of those luarocks can be found, at least on luarocks.org, AFAICT: https://luarocks.org/search?q=class https://luarocks.org/search?q=image https://luarocks.org/search?q=tds https://luarocks.org/search?q=cudnn

Please bear in mind I have absolutely zero experience with Lua or Luarocks, I'm a python/ruby coder mostly. I might very well just be ignorant of some basic information every Lua coder knows by heart that has been omitted as "obvious".

Wakeupbuddy commented 8 years ago

Hi tommituura,

My suggestion is to follow the instruction here: http://torch.ch/docs/getting-started.html#_

Make sure you have torch installed, then install dependencies using luarocks.

apetresc commented 8 years ago

The problem isn't getting luarocks installed, it's that there are no luarocks modules with those names (class, image, tds, or cudnn).

soumith commented 8 years ago

@apetresc if you specifically install torch, and invoke the luarocks that is shipped with torch, then those packages are available. We host our own rocks server here: https://github.com/torch/rocks

apetresc commented 8 years ago

Ah, gotcha! That explains it, thanks :)