roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.37k stars 129 forks source link

CSV Sink based workflow templates do not seem to work #603

Open venkatram-dev opened 2 months ago

venkatram-dev commented 2 months ago

Search before asking

Question

Amazing job on the workflows.

Just a small question, CSV Sink based workflow templates do not seem to work. In this page https://roboflow.com/workflows/templates and here https://roboflow.com/workflows/build, there are pre created templates which have CSV Sink as output blocks. But when trying to run the preview I get errors. Are CSV Sinks supposed to work?

Screenshot 2024-08-22 at 3 56 04 PM

Screenshot 2024-08-22 at 3 56 43 PM

Screenshot 2024-08-22 at 3 56 52 PM

{
  "error": "Could not parse workflow definition. Details provided in inner error.",
  "inner_error": "1 validation error for WorkflowSpecificationV1\nsteps.1\n 

   Input tag 'CSVSink' found using 'type' does not match any of the expected 
   tags: 'roboflow_core/segment_anything@v1', 'roboflow_core/detections_consensus@v1',
   'DetectionsConsensus', 'roboflow_core/clip_comparison@v1', 'ClipComparison', 'roboflow_core/lmm@v1',
    'LMM', 'roboflow_core/lmm_for_classification@v1', 'LMMForClassification', 'roboflow_core/open_ai@v1',
     'OpenAI', 'roboflow_core/cog_vlm@v1', 'CogVLM', 'roboflow_core/ocr_model@v1', 'OCRModel', 
     'roboflow_core/yolo_world_model@v1', 'YoloWorldModel', 'YoloWorld', 'roboflow_core/roboflow_instance_segmentation_model@v1',
      'RoboflowInstanceSegmentationModel', 'InstanceSegmentationModel', 'roboflow_core/roboflow_keypoint_detection_model@v1', 
      'RoboflowKeypointDetectionModel', 'KeypointsDetectionModel', 'roboflow_core/roboflow_classification_model@v1',
       'RoboflowClassificationModel', 'ClassificationModel', 'roboflow_core/roboflow_multi_label_classification_model@v1', 
       'RoboflowMultiLabelClassificationModel', 'MultiLabelClassificationModel', 'roboflow_core/roboflow_object_detection_model@v1', 
       'RoboflowObjectDetectionModel', 'ObjectDetectionModel', 'roboflow_core/barcode_detector@v1', 'BarcodeDetector', 'BarcodeDetection', 
       'roboflow_core/qr_code_detector@v1', 'QRCodeDetector', 'QRCodeDetection', 'roboflow_core/absolute_static_crop@v1', 
       'AbsoluteStaticCrop', 'roboflow_core/dynamic_crop@v1', 'DynamicCrop', 'Crop', 'roboflow_core/detections_filter@v1',
        'DetectionsFilter', 'roboflow_core/detection_offset@v1', 'DetectionOffset', 'roboflow_core/relative_statoic_crop@v1',
         'RelativeStaticCrop', 'roboflow_core/detections_transformation@v1', 'DetectionsTransformation', 'roboflow_core/roboflow_dataset_upload@v1',
          'RoboflowDatasetUpload', 'roboflow_core/continue_if@v1', 'ContinueIf', 'roboflow_core/perspective_correction@v1', 'PerspectiveCorrection', 
          'roboflow_core/dynamic_zone@v1', 'DynamicZone', 'roboflow_core/detections_classes_replacement@v1', 'DetectionsClassesReplacement', 
          'roboflow_core/expression@v1', 'Expression', 'roboflow_core/property_definition@v1', 'PropertyDefinition', 'PropertyExtraction', 
          'roboflow_core/dimension_collapse@v1', 'DimensionCollapse', 'roboflow_core/first_non_empty_or_default@v1', 'FirstNonEmptyOrDefault',
           'roboflow_core/background_color_visualization@v1', 'BackgroundColorVisualization', 'roboflow_core/blur_visualization@v1', 'BlurVisualization', 'roboflow_core/bounding_box_visualization@v1', 'BoundingBoxVisualization', 'roboflow_core/circle_visualization@v1', 'CircleVisualization', 'roboflow_core/color_visualization@v1', 'ColorVisualization', 'roboflow_core/corner_visualization@v1', 'CornerVisualization', 'roboflow_core/crop_visualization@v1', 'CropVisualization', 'roboflow_core/dot_visualization@v1', 'DotVisualization', 'roboflow_core/ellipse_visualization@v1', 'EllipseVisualization', 'roboflow_core/halo_visualization@v1', 'HaloVisualization', 'roboflow_core/label_visualization@v1', 'LabelVisualization', 'roboflow_core/mask_visualization@v1', 'MaskVisualization', 'roboflow_core/pixelate_visualization@v1', 'PixelateVisualization', 'roboflow_core/polygon_visualization@v1', 'PolygonVisualization', 'roboflow_core/triangle_visualization@v1', 'TriangleVisualization', 'roboflow_core/roboflow_custom_metadata@v1', 'RoboflowCustomMetadata', 'roboflow_core/detections_stitch@v1', 'roboflow_core/image_slicer@v1', 'roboflow_core/dominant_color@v1', 'roboflow_core/pixel_color_count@v1', 'roboflow_core/sift_comparison@v1', 'roboflow_core/sift@v1', 'roboflow_core/template_matching@v1' [type=union_tag_invalid, input_value={'name': 'csv1', 'type': ...image': '$inputs.image'}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.8/v/union_tag_invalid"
}

Additional

No response

grzegorz-roboflow commented 2 days ago

Hi @venkatram-dev , it seems your issue had invisibility cloak and slipped our attention, please accept our apologies!

From screenshot you shared I'd guess you need to use output of CSV block in response, if you are still having this problem can you try and let us know the outcome? Thanks!