This file contains hidden or 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
import os | |
import numpy as np | |
folds = [5,5] | |
exp_path = "./outputs/resunet_e1_new/" | |
avg_dice = [] | |
for holdout in os.listdir(os.path.join(exp_path)): | |
for fold in os.listdir(os.path.join(exp_path,holdout)): | |
if not ".pkl" in fold: | |
for item in os.listdir(os.path.join(exp_path,holdout,fold)): | |
if "stdout" in item: |