Comments (12)
First try the latest version - There is a zip attached to the other MQTT issue/feature request thread here.
My first guess might be that if a url or image fails for some reason, it gets re-tried, and the new deepstack time gets appended to the last try.
from bi-aidetection.
I just compiled the latest version this morning and did all my tests with that. I don't think they are failing as everything works when using either IP on its own. Times only get weird when I have more than 1 ip set. I'll try to get a log output later today.
from bi-aidetection.
I reworked a few things, try the latest. The FIRST time I submit something to a deepstack URL is almost always 5 times as long as normal, so make sure thats not what is happening. Also the deepstack time in the log is now PER-URL - before it was a combined set of stats for all url's. I have two IP's setup and the times for both seem normal.
from bi-aidetection.
Wasn't sure whether to open as a new subject but as it's related:
I notice with the Deepatack URL's it takes them in order.
URL1, URL2, URL3, URL1, URL2 etc
Would it be possible that they could be prioritized.
So first it uses URL1.
for the next image If URL1 is available it uses that again but if not it uses URL2
Eg URL1,URL1,URL2,URL1,URL2,URL3etc
from bi-aidetection.
@Tinbum1 - what is the use case? I kind of like the current load balancing where it will spread the load evenly between instances and not abuse one machines cpu. btw, how is the version from last night working for you?
from bi-aidetection.
Thought was that if you have one URL that can process quicker than the others it might be best to use that one most.
Everything seems to be going well for me.
from bi-aidetection.
@SHerms - how is the latest working for you?
from bi-aidetection.
The last version I compiled was on 9/11. It is hard to tell if it is better. The times still jump around a lot for the DeepStack time.
Sometimes I will get a bunch of "Not showing further warnings about skipping disabled URL". I'll update / resave the DeepStack URL and it works fine. I'll try to recompile the latest version and post my whole log after running for a couple hours.
from bi-aidetection.
When compiling I get this warning. Not sure if this is coming in to play when using multiple Deepstack URLs
Source\Repos\bi-aidetection\src\UI\AITOOL.cs(331,35,331,49): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
from bi-aidetection.
I wouldnt worry about that warning. But I did discover that my HttpClient requests for the deepstack server were probably building up connections that were not released. (even "USING") Working on trying to understand "IHttpClientFactory" to fix. It may have been causing your task canceled errors.
from bi-aidetection.
Ok, see if the latest is more stable. Each deepstack URL now has its dedicated HttpClient and it gets reused now to prevent too many connections from build up behind the scenes.
AITOOL-VORLONCD.zip
from bi-aidetection.
Everything has been working great. Thanks for all your work!
from bi-aidetection.
Related Issues (20)
- Command From Telegram HOT 2
- telegram notifications skip every 10 minutes feature HOT 19
- New Win11 Updates broke AITool HOT 5
- detection gone weird HOT 1
- Not sure how to correct this error- debug file deleted HOT 6
- Deepstack randomly failing HOT 1
- disadvantages of not using queue? HOT 5
- Not a Issue- Just a Question HOT 2
- Separate "Triggering Objects" for Telegram is not working HOT 2
- Save Button Not Showing On Latest Update 2.5.25 HOT 3
- 2.5.44 Custom models on "AiServerURL's" always saves as Linked. HOT 5
- AITool crashes when adding cameras HOT 1
- run external program suddenly stopped working after windows 10 22H2 update HOT 1
- Telegram "Invalid Format" HOT 1
- can't add a Camara HOT 7
- database disk image is malformed [SQLiteException] Mod: InsertHistoryItem(History hist) Line:258:21267195 HOT 6
- GUI Freezes HOT 1
- AI Tool crashed with a System Error warning about a buffer overrun HOT 6
- Bitdefender sees Telegram.bot.dll as malware HOT 1
- System.InvalidOperationException: Failed to compare two elements in the array.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bi-aidetection.