GithubHelp home page GithubHelp logo

baidu-aip / dotnet-sdk Goto Github PK

View Code? Open in Web Editor NEW
374.0 24.0 126.0 99 KB

百度AI开放平台 .Net SDK

Home Page: https://ai.baidu.com/

License: Apache License 2.0

C# 100.00%
csharp dotnet ai baidu sdk sdk-dotnet nuget dll dotnet-sdk

dotnet-sdk's Issues

支持异步

现在的方法不支持异步,麻烦支持一下

Support for System.Text.Json.JsonSerializer

从 .NET Core 3.0 开始有内置的 Json 序列化类 System.Text.Json.JsonSerializer 并且性能比 Newtonsoft.Json 更好。目前 Baidu.AI 依赖于 Newtonsoft.Json 造成使用者在 .NET Core 3.0 项目中也要依赖于它。请问是否考虑发布一份面向 .NET Core 3.0 的、不依赖于 Newtonsoft.Json 的版本?

请在Nuget上发布的dll加上强名称签名,谢谢

因为程序调用时,如果没有强名称,不能把dll放到其他文件夹内使用,致使clikconce模式下的更新程序,每次都要复制一份dll到用户机上,造成大量重复冗余,希望,在nuget上能够对程序集进行强名称签名。

在WinXp系统上抛出异常,Win7/10正常没有问题

Baidu.Aip.AipException: The underlying connection was closed: An unexpected error occurred on a send.
at Baidu.Aip.AipServiceBase.SendRequetRaw(AipHttpRequest aipRequest)
at Baidu.Aip.AipServiceBase.SendRequet(AipHttpRequest aipRequest)
at Baidu.Aip.AipServiceBase.PostAction(AipHttpRequest aipReq)

Maybe : ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

在 linux(ubuntu) .net core 2.2 版本下,Face接口调用操作超时。

在 linux(ubuntu) .net core 2.2 版本下,Face接口调用操作超时。
代码在window下正常。
网络访问正常,token能正常获得并输出。
单独wget api 地址,正常。

猜测,设置的某些入参会导致在linux下被卡到超时。

Token:24.2bea30dc9420de9075bfb5203d0f7615.2592000.1566562949.282335-16797556

System.Net.WebException: The operation has timed out.
at System.Net.HttpWebRequest.GetResponse()
at Baidu.Aip.AipServiceBase.SendRequetRaw(AipHttpRequest aipRequest) in /home/ubuntu/apps/code-server1.939-vsc1.33.1-linux-x64/dotnet/BilibiliAI/AipSdk/Baidu/Aip/AipServiceBase.cs:line 148
Baidu.Aip.AipException: The operation has timed out.
at Baidu.Aip.AipServiceBase.SendRequetRaw(AipHttpRequest aipRequest) in /home/ubuntu/apps/code-server1.939-vsc1.33.1-linux-x64/dotnet/BilibiliAI/AipSdk/Baidu/Aip/AipServiceBase.cs:line 154
at Baidu.Aip.AipServiceBase.SendRequet(AipHttpRequest aipRequest) in /home/ubuntu/apps/code-server1.939-vsc1.33.1-linux-x64/dotnet/BilibiliAI/AipSdk/Baidu/Aip/AipServiceBase.cs:line 137
at Baidu.Aip.AipServiceBase.PostAction(AipHttpRequest aipReq) in /home/ubuntu/apps/code-server1.939-vsc1.33.1-linux-x64/dotnet/BilibiliAI/AipSdk/Baidu/Aip/AipServiceBase.cs:line 102
at Baidu.Aip.Face.Face.Search(String image, String imageType, String groupIdList, Dictionary`2 options) in /home/ubuntu/apps/code-server1.939-vsc1.33.1-linux-x64/dotnet/BilibiliAI/AipSdk/Baidu/Aip/Face/Face.cs:line 193

nuget 未更新

是不是往更新了。nuget 上的包和你的代码包完全不一样,工程+demo完全不能编译。蛋疼。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.