floydhub / floyd-docs

FloydHub's documentation code. Contributions welcome!
https://docs.floydhub.com/
63 stars 65 forks source link

Installing a loadcaffe for lua script #10

Closed kimbring2 closed 7 years ago

kimbring2 commented 7 years ago

How do I install a dependencies for lua deep learning code?

saiprashanths commented 7 years ago

There is no special way to do this currently (unlike floyd_requirements.txt for Python). You can always create a bash script with the sequence of steps, and then floyd run that.

For example, create a bash script called run.sh with the following content

luarocks install torch
luarocks install xyz

# Add you main run command here
th train.lua 

Now you can do floyd run "bash run.sh"

saiprashanths commented 7 years ago

Lets use the forum (https://forum.floydhub.com/) for questions. Github issues is for actual issues with the docs :) Thanks!