Tim Blog

Himmel oder Hölle

python conda

this article is to describe how to use conda in docker activate conda FROM continuumio/miniconda3 WORKDIR /app # Create the environment: COPY environment.yml . RUN conda env ...

data version control

dvc is command-line tool similar with git to help researcher govern their data environment python -m pip install dvc workflow #initialize to genetate .dvc folder dvc init #deactivate analysis ...

python CI&CD

automate machine learning project with docker, makefile and Devops tools docker development Debuggable Docker Containers for Development # dev.Dockerfile FROM python:3.8.1-buster AS build...

RCNN

RCNN stands for Region-based Convolutional Neural Network type of RCNN Fast RCNN In R-CNN, feature extraction takes place for each region proposal whereas, in Fast R-CNN, feature extraction takes ...

knowledge graph

knowledge graph is a manner to store data in a structured way. implementation import spacy from spacy.lang.en import English import networkx as nx import matplotlib.pyplot as plt def getSentence...

python wheel

a wheel name can be broken down like this: {dist}-{version}(-{build})?-{python}-{abi}-{platform}.whl wheel installation is much faster than source code installation(python -m pip install -e .) yo...

python GUI

DearPyGui DearPyGui is supported in python3.8+ example from dearpygui.dearpygui import * add_text("Hello world") add_button("Save", callback="save_callback") add_input_text("string") add_slider_fl...

python Test

Property-based automated testing with Hypothesis Strategies A strategy defines the data that Hypothesis generates for testing #data_strategies.py from dataclasses import dataclass import hypothes...

python jupyter

remote management console start jupyter notebook on remote host, and port forwards it to local host. then you can start console, read/write file and update data #on remote host jupyter notebook #o...

cuda

CUDA Python with Numba Numba is a just-in-time, type-specializing, function compiler for accelerating numerically-focused Python for either a CPU or GPU CPU CUDA compile always check the speed-up p...