Issue
this is the code I am working with:
I searched for a similiar error do i need to change the .close() ?
Can anyone help please?
Solution
You should remove the close() function call on the parameter tensor image in line -
image = tensor.cpu().close().detach().numpy()
. This should be replaced with - image = tensor.cpu().detach().numpy()
Answered By - Aditya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.