Skip to content

Instantly share code, notes, and snippets.

Avatar

Taras jackersson

View GitHub Profile
@jackersson
jackersson / resnet10.txt
Last active Sep 2, 2020
NN architectures
View resnet10.txt
name: "ResNet-10"
input: "data"
input_shape {
dim: 1
dim: 3
dim: 272
dim: 480
}
layer {
bottom: "data"
@jackersson
jackersson / resnet18.txt
Last active Sep 2, 2020
NN Architectures
View resnet18.txt
name: "ResNet-18"
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 1 dim: 3 dim: 224 dim: 224 } }
}
layer {
bottom: "data"
View costmap_common_params.yaml
footprint: [[-0.1,-0.16],[-0.1,0.16],[0.1,0.16],[0.1,-0.16]]
inflation_layer:
inflation_radius: 0.08
obstacle_layer:
max_obstacle_height: 0.80
map_type: costmap
@jackersson
jackersson / QRCode.msg
Last active Jul 1, 2020
Raspberry Ubuntu Installation
View QRCode.msg
Header header
string child_frame_id
uint32 id
geometry_msgs/PoseWithCovariance pose
View gstreamer_python_installation_output
---> pip install -U git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python -v
Created temporary directory: /tmp/pip-ephem-wheel-cache-3ym3nc1k
Created temporary directory: /tmp/pip-req-tracker-2clwxc17
Created requirements tracker '/tmp/pip-req-tracker-2clwxc17'
Created temporary directory: /tmp/pip-install-kwa_32rt
Collecting gstreamer-python
Cloning https://github.com/jackersson/gstreamer-python.git to /tmp/pip-install-kwa_32rt/gstreamer-python
Running command git clone -q https://github.com/jackersson/gstreamer-python.git /tmp/pip-install-kwa_32rt/gstreamer-python
Added gstreamer-python from git+https://github.com/jackersson/gstreamer-python.git#egg=gstreamer-python to build tracker '/tmp/pip-req-tracker-2clwxc17'
@jackersson
jackersson / Dockerfile
Last active Mar 2, 2020
Gstreamer-1.0-Ubuntu-18-Docker-Installation
View Dockerfile
FROM ubuntu:18.04
USER root
RUN apt-get update && apt-get -y --no-install-recommends install \
sudo \
vim \
wget \
build-essential \
pkg-config
@jackersson
jackersson / Dockerfile
Last active Mar 25, 2020
Gstreamer-1.0+Python3.6-Ubuntu-18-Docker-Installation
View Dockerfile
FROM ubuntu:18.04
USER root
RUN apt-get update && apt-get -y --no-install-recommends install \
sudo \
vim \
wget \
build-essential \
pkg-config \
View test_mlflow.py
import mlflow # import log_metric, log_param, log_artifact
# https://www.youtube.com/watch?v=wb-ZxtIwSTA
def exp(metric, param):
mlflow.set_tracking_uri("http://mlflow:NJKbe21jk4e1@ec2-18-184-150-238.eu-central-1.compute.amazonaws.com/")
exp_name = "smart-counter"
mlflow.set_experiment(exp_name)
with mlflow.start_run(nested=True):
mlflow.log_param("param1", param)
View install_gst_req.sh
sudo apt-get install --no-install-recommends -y \
build-essential pkg-config git \
sudo apt-get install --no-install-recommends -y \
gstreamer-1.0 gstreamer1.0-dev \
gstreamer1.0-tools \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
@jackersson
jackersson / install_pygst.sh
Last active Nov 12, 2019
install_pygst.sh
View install_pygst.sh
# After PyGObject (https://lazka.github.io/pgi-docs/) installed
# > pip install PyGObject
# Run current script to override Gstreamer related Scripts
LIBPYTHONPATH=""
PYTHON=/usr/bin/python3
GST_VERSION=1.14.1
You can’t perform that action at this time.