mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
fix typo (#533)
This commit is contained in:
parent
5c195db1bd
commit
aa14be1871
@ -62,7 +62,7 @@ class MobileNetV2(nn.Module):
|
|||||||
for index in out_indices:
|
for index in out_indices:
|
||||||
if index not in range(0, 7):
|
if index not in range(0, 7):
|
||||||
raise ValueError('the item in out_indices must in '
|
raise ValueError('the item in out_indices must in '
|
||||||
f'range(0, 8). But received {index}')
|
f'range(0, 7). But received {index}')
|
||||||
|
|
||||||
if frozen_stages not in range(-1, 7):
|
if frozen_stages not in range(-1, 7):
|
||||||
raise ValueError('frozen_stages must be in range(-1, 7). '
|
raise ValueError('frozen_stages must be in range(-1, 7). '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user