mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-09-19 00:52:09 +02:00
.
This commit is contained in:
@@ -456,7 +456,7 @@ class CDIModel(t.nn.Module):
|
||||
def saveobj(a, filename):
|
||||
a = np.abs(a)
|
||||
plt.imshow(a)
|
||||
plt.savefig('filename')
|
||||
plt.savefig(filename)
|
||||
f = ['base_a.png', 'base_b.png', 'base_c.png', 'base_d.png']
|
||||
comp = [a[i, j, :, :] for i, j in zip([0, 0, 1, 1], [0, 1, 0, 1])]
|
||||
for i in range(4):
|
||||
|
||||
Reference in New Issue
Block a user