Mikolaj Buchwald
Mikolaj Buchwald
@mtreinish , thank you for this immediate response! I confirm, with the command: ``` python3 -c "import qiskit; print(qiskit.__qiskit_version__)" ``` I got: ``` {'qiskit-terra': '0.21.1', 'qiskit-aer': '0.10.4', 'qiskit-ignis': None, 'qiskit-ibmq-provider':...
Or, also, the same behaviour is observed (NaNs in the output), if one of the vectors (input) is empty. Which is not the same as some values missing/being NaNs --...
Thank you for the suggestion, I will do so.
In utils add: ``` heatmap = cv2.applyColorMap(np.uint8(255 * mask.cpu().squeeze()), cv2.COLORMAP_JET) ``` Line 15
Then it will work
I re-created the repository, indent to modify it further: https://github.com/mikbuch/gradcam-pytorch-pet. Thank you Konny for creating this very useful example.
Same here, tried with nii and nii.gz (python 3.11.5)