Skip to content

Gamma, D mixed up?' #1

@sorona

Description

@sorona

Hi @hoytak , nice implementation, nice work !!!

I used the ksvd implementation,
but apparently when i use D_init = "random"
the output D and Gamma is mixed up
D is with the dimensions of Gamma and is not sparse
Gamma is with the dimensions of D and is sparse (as in the target_sparsity)

also there is dimensions mismatch error when i try to initialize
with D_init that is an array of my own (i tried over complete DCT)
and it's look like Gamma and D are mixed up in the arrays initialization..

Traceback (most recent call last):
File "./ksvd_demo.py", line 95, in
,enable_eigen_threading = False, enable_threading = True, enable_32bit_initialization = True, max_initial_32bit_iterations = 0)
File "ksvd_wrapper.pyx", line 143, in ksvd.ksvd_wrapper.KSVD (ksvd/ksvd_wrapper.cpp:2059)
ValueError: could not broadcast input array from shape (16,100) into shape (100,16384)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions