theAIGuysCode / Object-Detection-API

Yolov3 Object Detection implemented as APIs, using TensorFlow and Flask
Apache License 2.0
341 stars 180 forks source link

Production server error #20

Open vishalkalola1 opened 3 years ago

vishalkalola1 commented 3 years ago
    if tiny:
        yolo = YoloV3Tiny(classes=num_classes)
    else:
        yolo = YoloV3(classes=num_classes)

    yolo.load_weights(weights_path).expect_partial()
    print('weights loaded')

    class_names = [c.strip() for c in open(classes_path).readlines()]
    print('classes loaded')

This code throw error on server startup. "Truncated or oversized response headers received from daemon process on production server"