There are three main options for working on the labs and assignment remotely or on your own laptop.
- Use the remote desktop service
- Use the informatics VPN
- Run the code directly on your own PC or Mac (not recommended as different problems may occur).
- Set up the remote desktop service
- Connect to a remote desktop
- Open a terminal on the remote desktop
- Run
ssh s1234567.lab.inf.ed.ac.uk
(replacing the student ID with your own). Please tryssh student.compute.inf.ed.ac.uk
instead, if the former does not work for you. - Run the commands for setting up the environment
After the above is finished, every time you log in, you only need to run the following commands.
source /opt/conda/etc/profile.d/conda.sh
cd asr_labs ## if you are not in this directory
conda activate asr_env
jupyter notebook --ip=*
If the token is not working, jupyter notebook password
lets you set a password.
- Set up the informatics VPN
- Connect to the VPN
- Open a terminal
- Run
ssh [email protected]
(please tryssh [email protected]
if the former does not work for you). - Enter your DICE password
- Run the commands for setting up the environment
From now on, every time you log in, you only need to run the following commands
source /opt/conda/etc/profile.d/conda.sh
cd asr_labs ## if you are not in this directory
conda activate asr_env
jupyter notebook --no-browser --ip=*
NOTE: there is a --no-browser
added in the last command.
Before this, you might need to check if openfst and openfst-python are compatible with your operating system. Please make sure of this before you do the following.
- Install anaconda
- Open a terminal
- Install openfst and graphviz by
conda install -c conda-forge openfst
andconda install graphviz
- Run the commands for setting up the environment but omit
source /opt/conda/etc/profile.d/conda.sh
After setting up the environment, we may run
cd asr_labs ## if you are not in this directory
conda activate asr_env
jupyter notebook --no-browser
and open the link returned by Jupyter notebook. If this does not work well, we think the easiest option is to use the remote desktop, while the VPN and the SSH tunnel will give you the most responsive experience. Running Jupyter on your personal machine is not recommended, but you can do it, in a pinch, for the first few labs. The files we will use for the assignment are on the school’s AFS filesystem and can’t be copied locally for data protection. While it is possible to have AFS on your personal machine, it’s a bit complicated, and we are not able to provide any support for this. We suggest you do this set-up a few days before the lab starts, so it’s ready for the lab day. Leave some time for troubleshooting and dealing with problems that might crop up.