I am trying to run the exampleReconstructionCPM.py script on the Lenspaper.hdf5 dataset. After the second iteration, I am running into this error:
mPIE: 2%|▏ | 1/50 [00:10<08:54, 10.91s/it]
Traceback (most recent call last):
Cell In[2], line 171
mPIE.reconstruct(experimentalData, reconstruction)
File ~/PtyLab.py/PtyLab/Engines/mPIE.py:174 in reconstruct
self.showReconstruction(loop)
File ~/PtyLab.py/PtyLab/Engines/BaseEngine.py:1083 in showReconstruction
self.monitor.updateObjectProbeErrorMonitor(
File ~/PtyLab.py/PtyLab/Monitor/TensorboardMonitor.py:122 in updateObjectProbeErrorMonitor
self._update_error_estimate(error)
File ~/PtyLab.py/PtyLab/Monitor/TensorboardMonitor.py:503 in _update_error_estimate
self.__safe_upload_scalar(
File ~/PtyLab.py/PtyLab/Monitor/TensorboardMonitor.py:485 in __safe_upload_scalar
if data == []:
ValueError: operands could not be broadcast together with shapes (2,) (0,)
Is this a bug in PtyLab, or is there something wrong with the reconstruction script?
Hi all,
I am trying to run the exampleReconstructionCPM.py script on the Lenspaper.hdf5 dataset. After the second iteration, I am running into this error:
Is this a bug in PtyLab, or is there something wrong with the reconstruction script?