Skip to content

Extract highs into highs_values, highs_indices #13

@duycd2212

Description

@duycd2212

Hi. Thanks for your fantastic work

I am trying to reproduce your reconstruction results in encoder and decoder by using 256^3 TSDF and then extracting low, highs using your DWTForward3d function and get the shape low (1, 1, 7, 46, 46, 46) and highs [(1, 1, 7, 136, 136, 136), (1, 1, 7, 76, 76, 76), (1, 1, 7, 46, 46, 46)]. However, I have an issue extracting the highs into highs_values ([1, 46^3, 63]) and highs_indices ([1, 46^3, 63, 4]) to create a WaveletData object that can be encoded according to your code.

I have tried using your extract_full_indices() function to get the highs_indices and then used it to get the highs_values, but it didn't work. The result of the reconstruction is shown below.
Can you give me instructions on how to extract highs_values and highs_indices from highs in your work, or are there any ways that you can encode the low and highs directly?

I'd be thankful if you give me an example data or preprocessing you are using in training or conditioning that can extract data["low"], data["high_indices"], data["high_values"]

Thank you
Screenshot from 2024-12-16 04-06-40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions