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
If I .copy() the arrays before adding them to the channels dict, this goes away, but it took me a long time to track down the error.
Ideally it should perform this copy internally if necessary, or at least warn the user that the strides are not supported.
The text was updated successfully, but these errors were encountered:
Apologies for the lack of notice in the documentation, there is indeed an assumption that the numpy array has standard stride. I'll look into what it would take to relax that requirement, and/or update the documentation.
There seems to be an issue when writing numpy arrays with non-standard strides. Consider the following example of me writing a multi-channel image
This prints
If I
.copy()
the arrays before adding them to thechannels
dict, this goes away, but it took me a long time to track down the error.Ideally it should perform this copy internally if necessary, or at least warn the user that the strides are not supported.
The text was updated successfully, but these errors were encountered: