File size: 578 Bytes
f797d36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
Simple test script for the computer vision model
"""

from image_classifier import ImageClassifier

def test_model():
    print("Testing Computer Vision Model:")
    print("-" * 40)
    
    classifier = ImageClassifier()
    print("Image classifier initialized successfully!")
    print("Model can classify images into 1000 different categories")
    print("To test with an image, use: classifier.classify_image('path/to/image.jpg')")
    print()
    print("Note: For actual testing, you'll need to provide a valid image file.")

if __name__ == "__main__":
    test_model()