imageio.imwrite expects at least two input arguments: the path where the image should be stored, and the image itself (passed as a numpy array).
In your current code snippet you are calling imwrite with the path only without providing the actual image array.