tmux new [-s name] [cmd](:new) - new session
tmux ls(:ls) - list sessionstmux switch [-t name](:switch) - switches to an existing session
| # Get unique words from Vietnamese dictionary | |
| words = File.read!("gungui98.txt") | |
| |> String.split("\n", trim: true) | |
| |> Enum.map(&String.downcase/1) | |
| |> Enum.map(&String.split/1) | |
| |> List.flatten | |
| |> Enum.uniq | |
| |> Enum.sort | |
| |> Enum.join("\n") |
| apt install -y locales | |
| locale-gen en_US.UTF-8 | |
| export LANG=en_US.UTF-8 | |
| export PYTHONIOENCODING=UTF-8 |
I’m currently working on an OCR project with some of my Vision researcher/engineer colleagues: FVI. The job is to extract pieces of information from a Vietnamese ID card.
In research progress, I wandered the internet and found some useful articles (e.g. Dropbox, Zocdoc, Facebook) about how to build an OCR system. But none of this explained clearly to me a complete intuition how to bring these research models into a production environment. So our team had a hard time (roughly 6 months) struggling to build an accurate, production-ready and scalable OCR system.
After a weekend of research, stress and pain I finally figure out how to install manjaro 17 and configure the nvidia/bumblebee drivers on my avell laptop
Here's my notebook specs:
$ inxi -MGCNA
Machine: Device: laptop System: Avell High Performance product: 1513
Mobo: N/A model: N/A v: 0.1 UEFI: American Megatrends v: N.1.02 date: 09/28/2016
Battery BAT0: charge: 44.0 Wh 100.0% condition: 44.0/44.0 Wh (100%)
| sudo apt-get install libgeos-3.X.X | |
| sudo apt-get install libgeos-dev | |
| pip install --user https://github.com/matplotlib/basemap/archive/master.zip |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| docker rmi $(docker images -q -f dangling=true) |
| # GPUs select | |
| import os | |
| os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" | |
| os.environ["CUDA_VISIBLE_DEVICES"]="0" | |
| # Auto-reload external modules | |
| %load_ext autoreload | |
| %autoreload 2 | |
| # Matplotlib |