mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-12 17:23:54 +01:00
.
This commit is contained in:
1 parent
35c1643721
commit
9f580102ba
1 file changed
+1
@@ -505,6 +505,7 @@ class CDIModel(t.nn.Module):
|
||||
try:
|
||||
plotter(self, fig, dataset)
|
||||
plt.title(name)
|
||||
print('f', idx)
|
||||
plt.savefig('img-{0}.pdf'.format(idx), bbox_inches='tight')
|
||||
except (IndexError, KeyError, AttributeError, np.linalg.LinAlgError) as e:
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user