forked from mrq/DL-Art-School
oddity
This commit is contained in:
parent
f406a5dd4c
commit
cdc5ac30e9
|
@ -60,8 +60,10 @@ if __name__ == '__main__':
|
|||
os.makedirs("debug", exist_ok=True)
|
||||
for i in range(0, len(ds)):
|
||||
o = ds[random.randint(0, len(ds))]
|
||||
for k, v in o.items():
|
||||
if 'LQ' in k and 'path' not in k and 'center' not in k:
|
||||
#for k, v in o.items():
|
||||
k = 'GT'
|
||||
v = o[k]
|
||||
#if 'LQ' in k and 'path' not in k and 'center' not in k:
|
||||
#if 'full' in k:
|
||||
#masked = v[:3, :, :] * v[3]
|
||||
#torchvision.utils.save_image(masked.unsqueeze(0), "debug/%i_%s_masked.png" % (i, k))
|
||||
|
|
Loading…
Reference in New Issue
Block a user