You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
295 B
14 lines
295 B
1 month ago
|
import unittest
|
||
|
from extra.models import resnet
|
||
|
|
||
|
class TestResnet(unittest.TestCase):
|
||
|
def test_model_load(self):
|
||
|
model = resnet.ResNet18()
|
||
|
model.load_from_pretrained()
|
||
|
|
||
|
model = resnet.ResNeXt50_32X4D()
|
||
|
model.load_from_pretrained()
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|