Hungryof

Results 9 issues of Hungryof

Hi guys, I am confused about the 'updateGradInput' of TVLoss. Could someone give some descriptions on it?

I am wondering whether the code does the correct stuff. ``` -- multi-batchsize version? function TVLoss:updateGradInput(input, gradOutput) self.gradInput:resizeAs(input):zero() local N, C, H, W = input:size(1), input:size(2), input:size(3), input:size(4) self.x_diff:resize(4, H...

```bash torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:42: attempt to perform arithmetic on field 'groups' (a nil value) stack traceback: ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:42: in function 'resetWeightDescriptors' ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:93: in function 'checkInputChanged' ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:117: in function 'createIODescriptors' ...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:177: in function 'func'...

在https://funhacks.net/explore-python/Advanced-Features/generator.html ![_006](https://cloud.githubusercontent.com/assets/7830725/22774298/7ceef87e-eee1-11e6-8b06-2b6f9d345226.png) 这个thow应该是throw。 在 https://funhacks.net/explore-python/Functional/decorator.html ![_007](https://cloud.githubusercontent.com/assets/7830725/22774409/f447e728-eee1-11e6-9f92-395dafb3a535.png) 这个应该是functools,而不是functool

1. Can we use `recursive_generator` similar with the official code? 2. `LayerNorm` is in here http://pytorch.org/docs/master/nn.html#layernorm.(Seems in this week v0.4 will be released)

https://github.com/Youngkl0726/Convolutional-Block-Attention-Module/blob/39653b5e60ebdae4e70ebfbe2105cee077203377/CBAMNet.py#L34

https://github.com/ShoufaChen/DiffusionDet/blob/1efb36d4b0b721f2d509bc72656235a94d73ab02/diffusiondet/head.py#L253-L254 1. Before passing proposal feature into `self.attn`, you permute the feature and make the size of it be `nr_boxes*N*C`, it confused me. For normal transformer block, the feature should...

https://github.com/ShoufaChen/DiffusionDet/blob/1efb36d4b0b721f2d509bc72656235a94d73ab02/diffusiondet/detector.py#L170 And here https://github.com/ShoufaChen/DiffusionDet/blob/main/diffusiondet/detector.py#L205, `clip_denoised=True` by default.

Hi, thank you for providing the code, I am looking forward to a better version ASAP. Thank you!