mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-13 09:43:55 +01:00
get tests working
This commit is contained in:
1 parent
8f58242efe
commit
76e6d5efae
18 files changed
+291
-1072
No files matched your search
@@ -17,7 +17,7 @@ model = CDTools.models.FancyPtycho.from_dataset(dataset, n_modes=2,dm_rank=0, pr
|
||||
model.to(device='cuda')
|
||||
dataset.get_as(device='cuda')
|
||||
|
||||
for loss in model.Adam_optimize(400, dataset, batch_size=50, schedule=True):
|
||||
for loss in model.Adam_optimize(100, dataset, batch_size=50, schedule=True):
|
||||
# And we liveplot the updates to the model as they happen
|
||||
print(model.report())
|
||||
model.inspect(dataset)
|
||||
|
||||
Reference in new issue
Block a user