kaix90 / DCTNet

463 stars 99 forks source link

look for "block_composition" #36

Open Fish08042 opened 3 years ago

Fish08042 commented 3 years ago

hello! i find your code have this "from datasets.dct_resize.block_composition import block_composition",but i cant find "dct_resize"in datasets

luowei0701 commented 3 years ago

same question ,have you solved it ?

Fish08042 commented 3 years ago

same question ,have you solved it ?

i havent~

BeBeBerr commented 3 years ago

Same problem here... @calmevtime Are there any missing files for the training code?

kaix90 commented 3 years ago

The block_composition function is obsolete. Please comment out the line and it should be fine.

Sent from my iPhone

On Dec 9, 2020, at 5:18 AM, Luyuan Wang notifications@github.com wrote:

 Same problem here... @calmevtime Are there any missing files for the training code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

BeBeBerr commented 3 years ago

The block_composition function is obsolete. Please comment out the line and it should be fine.

Thank you for your kindly reply. However, there are multiple places require datasets.dct_resize. For example, in cvfunctional.py line 19:

from datasets.dct_resize.resize_dct_opencv import resize_dct

It seems that this function is necessary. What should I do to fix that?

ivylinden commented 2 years ago

same problem

ivylinden commented 2 years ago

class UpsampleDCT(object): def init(self, L=1, M=1, N=8, T=None, debug=False): self.L, self.M = L, M self.T = T self.N = N self.debug = debug

    self.A1 = block_composition(L, N)
    self.A2 = block_composition(M, N)
ghost commented 2 years ago

是否可以重新上传datasets.dct_resize文件,万分感谢

SystemErrorWang commented 2 years ago

@calmevtime it seems the function "block_composition" is necessary in UpsampleDCT. would you please upload the dct_resize.py file, and also clarify the meaning of L, M, and N?

ar-roy commented 1 year ago

Has anyone figured out their own implementation of dct_resize?