• ekka's avatar
    Add test for num_class in test_model.py (#815) · 83d3770a
    ekka authored
    * Add test for loading pretrained models
    
    The update modifies the test to check whether the model can successfully load the pretrained weights. Will raise an error if the model parameters are incorrectly defined or named.
    
    * Add test on 'num_class'
    
    Passing num_class equal to a number other than 1000 helps in making the test more enforcing in nature.
    83d3770a
test_models.py 1.07 KB