=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
BrainFuck Programming Tutorial by: Katie
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
''' | |
This script saves each topic in a bagfile as a csv. | |
Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided | |
Usage1 (for one bag file): | |
python bag2csv.py filename.bag | |
Usage 2 (for all bag files in current directory): | |
python bag2csv.py |
# git clone git@github.com:supervisely/supervisely.git | |
# cd supervisely | |
# pip install -e . | |
# cd supervisely_lib | |
from export.pascal_voc import save_project_as_pascal_voc_detection | |
from project.project import OpenMode, Project | |
save_project_as_pascal_voc_detection("/path/to/empty/output/folder", | |
Project("/path/to/root/of/downloaded/supervisely/folder", |
## | |
# Author: Caio Marcellos | |
# Email: caiocuritiba@gmail.com | |
## | |
import os | |
import numpy as np | |
import json | |
import glob | |
from datetime import datetime | |
from pathlib import Path |
location /:CUSTOM-PATH/ { | |
proxy_pass http://127.0.0.1:<PORT>/:CUSTOM-PATH/; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Proto $scheme; | |
proxy_buffering off; | |
proxy_http_version 1.1; | |
# Also requires websocket: | |
proxy_set_header Upgrade $http_upgrade; |
## | |
# Author: Caio Marcellos | |
# Email: caiocuritiba@gmail.com | |
## | |
import os | |
import numpy as np | |
import json | |
import glob | |
from datetime import datetime | |
from pathlib import Path |