Skip to content

Instantly share code, notes, and snippets.

View erjel's full-sized avatar

Eric Jelli erjel

View GitHub Profile
This file has been truncated, but you can view the full file.
{"name": "json_agglo", "classes": [[0], [1, 36], [258063, 258067, 258076, 258077, 258084, 258085, 258086, 258103, 258058, 258106, 258118, 258120, 258122, 258130, 258133, 258091, 258055, 258054, 258049, 257938, 257946, 257947, 257953, 257963, 257969, 257971, 257973, 257975, 257978, 258019, 258028, 258031, 258040, 258044, 258045, 258048, 258137, 258142, 258144, 257932, 258246, 258249, 258251, 258255, 258256, 258258, 258262, 258240, 258263, 258268, 258274, 258281, 258289, 258296, 258309, 258313, 258266, 258239, 258238, 258232, 258146, 258149, 258156, 258167, 258169, 258173, 258174, 258190, 258191, 258195, 258197, 258203, 258209, 258214, 258221, 258222, 258228, 258143, 257923, 257915, 258315, 257510, 257526, 257543, 257546, 257547, 257548, 257552, 257502, 257553, 257571, 257586, 257597, 257600, 257631, 257633, 257634, 257570, 257501, 257497, 257471, 257375, 257380, 257382, 257388, 257389, 257412, 257414, 257416, 257435, 257444, 257450, 257454, 257458, 257459, 257463, 257466, 257468, 257636, 257917, 257637, 257644
@erjel
erjel / deeplabcut_2.2.0.6_env.yaml
Last active February 21, 2022 12:17
All in one conda requirements for deeplabcut 2.2.0.6.
# To install deeplabcut 2.2.0.6 run:
# wget https://gist.githubusercontent.com/erjel/0e8793e257f7e81fca29681ddb7ef39b/raw -O deeplabcut_2.2.0.6_env.yaml
# conda env create -n deeplabcut -f deeplabcut_2.2.0.6_env.yaml
# conda activate deeplabcut
# pip install deeplabcut==2.2.0.6 --no-deps
channels:
- defaults
dependencies:
- python=3.8
- pip
import logging
from pathlib import Path
import webknossos as wk
from webknossos.annotation import Annotation
from webknossos.dataset import MagView
from webknossos.geometry import BoundingBox, Mag
def merge_with_fallback_layer(
output_path: Path,
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
from tifffile import imread
# In[ ]: