thunder-project/thunder

converting images -> series with singleton

freeman-lab opened this issue · 1 comments

The following fails for the Spark backend

import thunder as td
images = td.images.fromrandom(shape=(1,1), engine=sc)
images.toseries()

Not sure yet where the problem is.

cc @jwittenbach

Update: this happens whenever each image is a singleton, doesn't matter if it's one or more images, e.g.

import thunder as td
images = td.images.fromrandom(shape=(2,1), engine=sc)
data.toseries()