在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):oxford-cs-ml-2015/practical1开源软件地址(OpenSource Url):https://github.com/oxford-cs-ml-2015/practical1开源编程语言(OpenSource Language):Shell 100.0%开源软件介绍(OpenSource Introduction):Practical 1Machine Learning, spring 2015 NOTE: if you are not reading this from an Oxford CS lab machine, SetupMost of the lab machines will have Torch precompiled and stored in Clone the git repository somewhere and $ git clone https://github.com/oxford-cs-ml-2015/practical1.git
$ cd practical1
$ bash install-torch.sh It will prompt you to ask if you want to copy the torch installation if it exists, or automatically continue to download if it doesn't exist, in which case setup will take around 5 minutes. In either case, the installation target is the machine's local disk ( You should read the practical PDF document as you wait. After installation completes, the install script will direct you to add Torch to your $ export PATH=/home/scratch/$USER/torch/bin:$PATH You may add this line to your $ th
______ __ | Torch7
/_ __/__ ________/ / | Scientific computing for Lua.
/ / / _ \/ __/ __/ _ \ |
/_/ \___/_/ \__/_//_/ | https://github.com/torch
| http://torch.ch
th> a=0 ; b=1
[0.0001s]
th> a+b
1
[0.0001s]
th> torch.randn(2,2)
0.0341 0.0868
-1.8843 0.9053
[torch.DoubleTensor of dimension 2x2]
... IMPORTANT NOTE: the script will attempt to install IPython 2.x along with its dependencies if you have a version older than 2.2, which should be the case for most of you. If you do not wish for the script to upgrade IPython, edit the script and comment out the IPython portion for now. We will only need it in a later practical. See course page for practicalshttps://www.cs.ox.ac.uk/people/nando.defreitas/machinelearning/ |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论