Closed julianantolin closed 3 months ago
Can you please print the shape of pixel_traces
and codebook_matrix
just before the error?
This error suggests your data dimensionality does not match the codebook dimensionality.
The shapes are: (16, 4194304) (251, 17) Indeed mismatched
On Wed, Jun 12, 2024 at 11:18 AM Doug Shepherd @.***> wrote:
Can you please print the shape of pixel_traces and codebook_matrix just before the error?
This error suggests your data dimensionality does not match the codebook dimensionality.
— Reply to this email directly, view it on GitHub https://github.com/QI2lab/wf-merfish/issues/9#issuecomment-2163647294, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHWX2LJ4PDPHAYQHNB4AHTZHCGILAVCNFSM6AAAAABJG3V7WCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGY2DOMRZGQ . You are receiving this because you authored the thread.Message ID: @.***>
Issue with Zhuang codebook. Need to write some extra checks, but will close for now as it's working locally.
Description
I am running test_pixeldecode.py. The expected result is for pixel decoding to be performed on preprocessed data. I get the error "ValueError: XA and XB must have the same number of columns (i.e. feature dimension.)"
Is this a problem with the data preprocessing or something else?
What I Did