-
install libdb
sudo apt-get update
sudo apt install libdb-dev -
install korean font
sudo apt-get install fonts-nanum*
sudo fc-cache -fv -
create python env and install requirements
-
$gradio app.py
app.py : main page for annotating data
make_db.py: init db for first work
admin.py: analysis user task statistics.
DB format
"file_path" : image file path(str)
"class_name": image file crawl food name (str)
"annotation": annotations (str) -> True/False/unknown
"datetime": Recorded date(datetime)
"index": unique index number (int)
"pre_anno": with or without pre-annotation(bool)
guide docs: https://docs.google.com/presentation/d/1I-AIdn1O6rjtsY6pKV4JC05hN6CWwS8tJXWzXh6S3IY/edit#slide=id.p
[jupyter lab]
-
location : (sever: v100, user:ai04) /home/ai04/.jupyter/jupyter_notebook_config.py
-
set config
- c.ServerApp.allow_origin = '*'
- c.ServerApp.notebook_dir = '~/workspace/jupyter/visualize_db' # for 'ai04'
- c.ServerApp.ip = '192.168.200.105'
- c.ServerApp.open_browser = False
- c.ServerApp.port = 8888
-
activation
- nohub jupyter lab &