tsai icon indicating copy to clipboard operation
tsai copied to clipboard

Bug: show_batch() function displays wrong plot when used with TSImage()

Open abhijitramesh opened this issue 3 years ago • 0 comments

The show_batch() function is not working as expected along with any of the time series to image transformations.

Steps to reproduce

Run the TS to Image tutorial notebook.

Expected behavior

The show_batch() function on the dls after TSToPlot (or any other trasformation) looks like this: Screenshot 2022-06-07 at 8 31 46 PM

Observed behavior

Insted now the show_batch() function gives this:

Screenshot 2022-06-07 at 8 33 59 PM

Additional Information

I tried iterating through the dls and checking what the plots look like and they seem fine.

Screenshot 2022-06-07 at 8 36 12 PM

This gives me the impression that the issue is with how show_batch() is working and not the transformations themselves. In this issue I have explained how this is effecting TSToPlot trasformation but if you try the other once like TSToMat, TSToGADF etc... show_batch() gives some weird graphs as output.

abhijitramesh avatar Jun 07 '22 15:06 abhijitramesh