[Fix] Delete warning report (#1126)

pull/1121/head
Miao Zheng 2021-06-22 22:02:42 +08:00 committed by GitHub
parent 004c00675f
commit 6fd6ada6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -115,9 +115,7 @@ class BaseInit(object):
but got a {type(layer)}')
else:
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:
self.bias = bias_init_with_prob(bias_prob)
else: