Environment setup for WebValley 2019

Hardware setup

The lab will be fully equipped with wireless internet connection in all lecture rooms, and communal areas. However, there might be the possibility that a cable connection could be also needed. So,if your laptop does not have an ethernet port and you already have a RJ45 adapter, bring it with you - just in case!


Communication tools

During the school we will use Slack as tool for sharing material (e.g. papers, docs, etc...) and for teamwork chat.

Getting Slack

Slack could be used on your web browser here: https://slack.com/get-started or downloaded:


Setting up your own laptop

Note: If you have selected to receive a laptop from FBK, you do not need to follow the following steps as we will set it up for you. 

GNU/Linux

If you already have a GNU/Linux distribution installed, skip directly to step 3.

  1. We recommend installing Ubuntu 18.04: please download the installation image using the following link: http://releases.ubuntu.com/18.04/
  2. Follow the instructions at https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0
  3. After the installation, you can download the following script and run it in order to setup your initial environment.

Mac OS X

In case you would prefer setting up the environment directly from the Command Line, you could use the script availble here.

Otherwise, please use the following instructions to use the Graphical Installer:

  1. Download the installer:

  2. Double-click the .pkg file.

  3. Follow the instructions on the screen.

    When installation is finished, from the App Launcher menu, open the Anaconda Prompt.

  4. Test your installation, in your Terminal window or Anaconda Prompt, run the command conda list.

    For a successful installation, a list of installed packages appears.

Open Anaconda prompt and the install the following packages:

  • conda install -y bcolz
  • conda install -y opencv
  • conda install -y networkx
  • conda install pytorch torchvision -c pytorch

Windows

  1. Download the installer:

  2. Double-click the .exe file.

  3. Follow the instructions on the screen.

    If you are unsure about any setting, accept the defaults. You can change them later. When installation is finished, from the Start menu, open the Anaconda Prompt.

  4. Test your installation, in your Terminal window or Anaconda Prompt, run the command conda list.

    For a successful installation, a list of installed packages appears.

Open Anaconda prompt and the install the following packages:

  • conda install -y bcolz
  • conda install -y opencv
  • conda install -y networkx
  • conda install pytorch-cpu torchvision-cpu -c pytorch

Test it out

python -c "import torch; print(torch.rand(5, 3))"