As configured in my dotfiles.
start new with session name:
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that
C:\Program Files\Git\mingw64\ is your
/ directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like
mingw64 in this directory is your root. Find it by using
If you go to that directory, you will find the typical linux root folder structure (
lib and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
|Visualize word embeddings, using tsne.|
|First computes cosine distance of the 100 closests words, and then shows a clustering graph|
|of the first 11 closest words (the first one is always the word)|
|IT REQUIRES GLOVE MODEL.txt|
|line 31: glove_file = '../TBIR/glove.840B.300d.txt' MODIFY with the appropiate path|
|To Use it, you can just type: python word_embedding_vis.py <list of words space separated>|
|e.g: python word_embedding_vis.py cake word embedding music|
Your school or company network may block the access to a few specific websites. To solve this problem, I'd highly recommend Shadowsocks, since it is the easiest proxy tool I've ever found, and it's FREE (of course iff you have your own server running).
ssh to your server, and make sure you have Python and
pip installed. If you have Python but not
pip, install it using the following command
$ sudo apt-get install python3-pip