You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# In `MobileNetV1`:
AssertionError: Expected every dim's size to be larger than 0, but the size of the 0-th dim is -64
# In `ShuffleNetV2`:
NotImplementedError: This scale size:[-2.0] is not implemented!
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered:
bug描述 Describe the Bug
在一些提供构建模型的API中,设计了参数
scale
作为调整模型通道数的放缩因子。因此,
scale
应该是一个非负数才使得放缩有意义。但部分
scale
缺少参数验证,当输入负值时,程序仍然能够运行、输出。这些API包括:
以下简单的代码可以复现上述问题。
In
MobileNetV3Large
:Got:
Expected
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: