This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |