DCTNet icon indicating copy to clipboard operation
DCTNet copied to clipboard

look for "block_composition"

Open Fish08042 opened this issue 4 years ago • 10 comments

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

Fish08042 avatar Nov 22 '20 12:11 Fish08042

same question ,have you solved it ?

luowei0701 avatar Nov 25 '20 08:11 luowei0701

same question ,have you solved it ?

i havent~

Fish08042 avatar Nov 25 '20 11:11 Fish08042

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

BeBeBerr avatar Dec 09 '20 13:12 BeBeBerr

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 [email protected] 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.

kaix90 avatar Dec 09 '20 21:12 kaix90

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?

BeBeBerr avatar Dec 10 '20 01:12 BeBeBerr

same problem

ivylinden avatar Jan 13 '22 09:01 ivylinden

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)

ivylinden avatar Jan 13 '22 09:01 ivylinden

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

ghost avatar Mar 20 '22 13:03 ghost

@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?

SystemErrorWang avatar Oct 12 '22 08:10 SystemErrorWang

Has anyone figured out their own implementation of dct_resize?

ar-roy avatar Oct 24 '23 20:10 ar-roy