Use the dataset from 2 sources:
- S. Palazzo, C. Spampinato, I. Kavasidis, D. Giordano, J. Schmidt, M. Shah, Decoding Brain Representations by Multimodal Learning of Neural Activity and Visual Features, IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2020, doi: 10.1109/TPAMI.2020.2995909 https://github.com/perceivelab/eeg_visual_classification
- Follow the commands in Git Bash (Windows) or Terminal (Linux/Mac)
- Create .env folder and install neccessary packages
virtualenv .env
source .env/Scripts/activate # For Windows
source .env/bin/activate # For Linux
pip install -r requirements.txt
In order to sync all of the submodules:
# cd back to project root
git submodule update --remote --merge
- Step 1: Install tailscale https://tailscale.com/
- Step 2: In terminal (preferably Git Bash):
ssh [email protected]
- Step 3: Login tailscale with google account [email protected]
- Step 4: Enjoy
-
In your local computer's terminal, run:
- In the first terminal:
# SSH into the server to run jupyter notebook
ssh <server_name>@<server_ip_address>
tmux new -s eeg # Create new tmux session named "eeg"
cd <cloned_repo>
jupyter notebook --no-browser --port 8888
tmux detach # <Or Ctrl-T d> Detach session, no worry that the session is still running in background
- In the second terminal:
# Local port forwarding
ssh -NL 8888:localhost:8888 <server_name>@<server_ip_address>
- Copy the jupyter notebook's address in the first terminal
- Open your browser and paste the copied address to address bar
-
In your local computer's terminal, run:
- In the first terminal:
# SSH into the server to run jupyter notebook
ssh <server_name>@<server_ip_address>
tmux a -t eeg # <Or Ctrl-T s> Choose tmux session name "eeg"
- In the second terminal:
# Local port forwarding
ssh -NL 8888:localhost:8888 <server_name>@<server_ip_address>
- Copy the jupyter notebook's address in the first terminal
- Open your browser and paste the copied address to address bar
- prefix:
- default: Ctrl-B
- server: Ctrl-T
- Change session:
prefix s
-> choose session -> enter - New session:
tmux new -s <s_name>
- Detach:
tmux detach
/prefix d
- Attach:
tmux a -t <s_name>
- Rename session:
prefix $
- New window:
prefix c
- Next window:
prefix n
- Prev window:
prefix p
- Split window vertically:
prefix "
- Split window horizontally:
prefix %
- Navigate panes:
prefix <Arrows>