mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-14 02:03:53 +01:00
Fix a bug in multislice where it doesn't work when prevent_alias is set to True
This commit is contained in:
1 parent
2854a872ee
commit
188a685503
6 files changed
+25
-15
No files matched your search
@@ -34,7 +34,7 @@ dataset.get_as(device='cuda')
|
||||
# The regularization is an L2 regularizer that empirically helps accelerate
|
||||
# convergence
|
||||
for i, loss in enumerate(model.LBFGS_optimize(30, dataset, lr=0.4, regularization_factor=[0.05,0.05])):#0.1)):
|
||||
#model.inspect(dataset)
|
||||
model.inspect(dataset)
|
||||
print(i,loss)
|
||||
|
||||
#model.inspect(dataset)
|
||||
|
||||
Reference in new issue
Block a user