mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-27 07:37:46 +01:00
Update installation instructions for simplicity and also fix the tests to reflect new usage
This commit is contained in:
1 parent
918cade834
commit
69be77cc09
10 files changed
+70
-25
No files matched your search
@@ -21,7 +21,11 @@ def amplitude_mse(intensities, sim_intensities, mask=None):
|
||||
This function calculates the mean squared error between their
|
||||
associated amplitudes. Because this is not well defined for negative
|
||||
numbers, make sure that all the intensities are >0 before using this
|
||||
loss.
|
||||
loss. Note that this is actually a sum-squared error, because this
|
||||
formulation makes it vastly simpler to compare error calculations
|
||||
between reconstructions with different minibatch size. I hope to
|
||||
find a better way to do this that is more honest with this
|
||||
cost function, though.
|
||||
|
||||
It can accept intensity and simulated intensity tensors of any shape
|
||||
as long as their shapes match, and the provided mask array can be
|
||||
|
||||
Reference in new issue
Block a user