Skip to content

Instantly share code, notes, and snippets.

View decode_ground_truth_bbbc039.py
# Example instructions to decode ground truth masks in BBBC039
# Masks available at: https://data.broadinstitute.org/bbbc/BBBC039/masks.zip
import skimage.io
import matplotlib.pyplot as plt
import skimage.morphology
# Load one image after uncompressing masks.zip
gt = skimage.io.imread("IXMtest_A02_s1_w1051DAA7C-7042-435F-99F0-1E847D9B42CB.png")
@jccaicedo
jccaicedo / deep_profiler_validation.sh
Last active Sep 21, 2017
Validate models created by Keras in DeepProfiler
View deep_profiler_validation.sh
#!/bin/bash
for((k=1;k<100;k++)); do
n=`printf %04d $k`
CUDA_VISIBLE_DEVICES=2 \
python3 learning \
--config /data1/luad/extract.json \
validation \
--model /data1/luad/experiments/keras/5class-1/checkpoint_$n.hdf5 \
> train_acc_$n.txt
@jccaicedo
jccaicedo / 0_reuse_code.js
Created Jan 23, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.