You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have got an error complaining about type of img which is in the transforms.py:11, and it uses .astype. Apparently it considers img as a numpy array, while I have using a .map function for a tfdataset.
I think it should consider to convert input to an expected array (numpy for example).
Or, even better, it should only use tensorflow functions in order to make it useful for graph mode execution, such as when using .map function.
I have got an error complaining about type of
img
which is in thetransforms.py:11
, and it uses.astype
. Apparently it considersimg
as a numpy array, while I have using a.map
function for a tfdataset.I think it should consider to convert input to an expected array (numpy for example).
Or, even better, it should only use tensorflow functions in order to make it useful for graph mode execution, such as when using
.map
function.The text was updated successfully, but these errors were encountered: