Spaces:
Runtime error
Runtime error
|
Download ControlNet/docs/faq.md from DmitrMakeev/Rerender: direct link, hf CLI and curl.
- Browser
- Download file 670 Bytes
-
https://huggingface.co/spaces/DmitrMakeev/Rerender/resolve/main/ControlNet/docs/faq.md
- Command line
-
hf download hf://spaces/DmitrMakeev/Rerender/ControlNet/docs/faq.md
-
curl -L -o faq.md https://huggingface.co/spaces/DmitrMakeev/Rerender/resolve/main/ControlNet/docs/faq.md
670 Bytes
A newer version of the Gradio SDK is available: 6.31.0
FAQs
Q: If the weight of a conv layer is zero, the gradient will also be zero, and the network will not learn anything. Why "zero convolution" works?
A: This is wrong. Let us consider a very simple
and we have
and if $w=0$ and $x \neq 0$, then
which means as long as $x \neq 0$, one gradient descent iteration will make $w$ non-zero. Then
so that the zero convolutions will progressively become a common conv layer with non-zero weights.