Unverified Commit 6fd6ada6 authored by Miao Zheng's avatar Miao Zheng Committed by GitHub
Browse files

[Fix] Delete warning report (#1126)

parent 004c0067
...@@ -115,9 +115,7 @@ class BaseInit(object): ...@@ -115,9 +115,7 @@ class BaseInit(object):
but got a {type(layer)}') but got a {type(layer)}')
else: else:
layer = [] layer = []
warnings.warn(
'init_cfg without layer key, if you do not define override'
' key either, this init_cfg will do nothing')
if bias_prob is not None: if bias_prob is not None:
self.bias = bias_init_with_prob(bias_prob) self.bias = bias_init_with_prob(bias_prob)
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment