textcnn-conv-deconv-pytorch icon indicating copy to clipboard operation
textcnn-conv-deconv-pytorch copied to clipboard

Need help with understanding the code

Open richielo opened this issue 7 years ago • 1 comments

Hi @ymym3412 ,

Thank you for the great work. Sorry if I sound ignorant. but I am trying to understand how the code works thoroughly

May I ask what do the following lines do in the main_reconstruction script? Thanks a lot for your help in advance.

t1 = args.sentence_len + 2 * (args.filter_shape - 1)

t2 = int(math.floor((t1 - args.filter_shape) / 2) + 1) # "2" means stride size

t3 = int(math.floor((t2 - args.filter_shape) / 2) + 1) - 2

richielo avatar Jul 30 '18 09:07 richielo

bonjour s'il vous plais j'ai pas trouver data de ce projet

rachida-ly avatar Apr 19 '20 12:04 rachida-ly