提交 f3c9eec4 编写于 作者: L lyuwenyu

add more example

上级 f22ad2e4
from ppcls.modeling.architectures.resnet import ResNet18
from ppcls.modeling.architectures.resnet import ResNet18 as _ResNet18
from ppcls.modeling.architectures.resnet import ResNet34 as _ResNet34
from ppcls.modeling.architectures.resnet import ResNet50 as _ResNet50
def ResNet18Test(**args):
'''lyuwenyu/PaddleClas/hub_L
ResNet18Entry test
def ResNet18(**kwargs):
'''ResNet18
'''
model = _ResNet18(**kwargs)
return model
def ResNet34(**kwargs):
'''ResNet34
'''
model = ResNet18(**args)
model = _ResNet18(**kwargs)
return model
def ResNet50(**kwargs):
'''ResNet50
'''
model = _ResNet18(**kwargs)
return model
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册