You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to test your repo, so I did the git clone and open it with Visual Studio 2022.
Here is the .csproj file:
net8.0
AnyCPU
latest
Curiosity GmbH, Othneil Drew
(c) Copyright 2024 Curiosity GmbH - all right reserved, Copyright (c) 2021 Othneil Drew (Bert Tokenizers)
MIT
www.curiosity.ai
https://github.com/curiosity-ai/florence2-sharp
false
false
Florence2
Implementing the Florence-2-base model for image understanding. Supports captioning, OCR, and object detection with optional phrase grounding. Uses ONNX models from huggingface.co/onnx-community/Florence-2-base. Enables various output tasks including detailed captioning, region-based OCR, and flexible object detection.
image-processing computer-vision machine-learning ai florence-2-model onnx image-captioning ocr object-detection image-understanding deep-learning neural-network
=> But when I want to build the solution, I got the following errors:
Error (active) CS0246 The type or namespace name 'FinalResult' could not be found (are you missing a using directive or an assembly reference?)
Error (active) CS1061 'FlorenceModelDownloader' does not contain a definition for 'InitializeModelRepositoryAsync' and no accessible extension method 'InitializeModelRepositoryAsync' accepting a first argument of type 'FlorenceModelDownloader' could be found (are you missing a using directive or an assembly reference?)
Error (active) CS1503 Argument 4: cannot convert from 'Florence2.FlorenceResults[]' to 'FinalResult[]'
Error (active) CS1503 Argument 4: cannot convert from 'Florence2.FlorenceResults[]' to 'FinalResult[]'
=> Please let me know how to fix those issues?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
net8.0 AnyCPU latest Curiosity GmbH, Othneil Drew (c) Copyright 2024 Curiosity GmbH - all right reserved, Copyright (c) 2021 Othneil Drew (Bert Tokenizers) MIT www.curiosity.ai https://github.com/curiosity-ai/florence2-sharp false false Florence2 Implementing the Florence-2-base model for image understanding. Supports captioning, OCR, and object detection with optional phrase grounding. Uses ONNX models from huggingface.co/onnx-community/Florence-2-base. Enables various output tasks including detailed captioning, region-based OCR, and flexible object detection. image-processing computer-vision machine-learning ai florence-2-model onnx image-captioning ocr object-detection image-understanding deep-learning neural-networkI want to test your repo, so I did the git clone and open it with Visual Studio 2022.
Here is the .csproj file:
=> But when I want to build the solution, I got the following errors:
Error (active) CS0246 The type or namespace name 'FinalResult' could not be found (are you missing a using directive or an assembly reference?)
Error (active) CS1061 'FlorenceModelDownloader' does not contain a definition for 'InitializeModelRepositoryAsync' and no accessible extension method 'InitializeModelRepositoryAsync' accepting a first argument of type 'FlorenceModelDownloader' could be found (are you missing a using directive or an assembly reference?)
Error (active) CS1503 Argument 4: cannot convert from 'Florence2.FlorenceResults[]' to 'FinalResult[]'
Error (active) CS1503 Argument 4: cannot convert from 'Florence2.FlorenceResults[]' to 'FinalResult[]'
=> Please let me know how to fix those issues?
Thanks,
The text was updated successfully, but these errors were encountered: