a | b/utils/preprocessing/interact.py | ||
---|---|---|---|
1 | import code |
||
2 | import numpy as np |
||
3 | import os |
||
4 | |||
5 | in_dir = "pp_groin_full_f16" |
||
6 | |||
7 | for i in os.listdir(in_dir): |
||
8 | if 'img.npy' in os.path.join(in_dir,i): |
||
9 | arr = np.load(os.path.join(in_dir,i)) |
||
10 | print (i,np.mean(arr),np.std(arr)) |
||
11 | |||
12 | |||
13 | #code.interact(local=locals()) |