AllskyTeam / allsky-modules

User modules for allsky
MIT License
18 stars 17 forks source link

AllSkyAI Module #12

Closed TheCrowsNestAstro closed 11 months ago

TheCrowsNestAstro commented 11 months ago

Classify the current sky condition based on machine learning. Let me know what you think would be the best place to store the downloaded files, atm they are stored within the module folder in a sub folder.

TheCrowsNestAstro commented 11 months ago

Cool! Send/email me a link and I'll join the server (could not find any official server) Model file is approx. 65 Mb.

Alex-developer commented 11 months ago

Cool! Send/email me a link and I'll join the server (could not find any official server) Model file is approx. 65 Mb.

Will do :-)

I found https://www.allskyai.com/ and if its the same speed as that then its looking really good.

Really appreciate the contribution.

One this that would be worth doing is to add a block at the beginning of the module and in the readme that explains who wrote it. Its only fair that people get credit otherwise it looks like I wrote them all !

Cheers

Alex

TheCrowsNestAstro commented 11 months ago

Hehe, ok good point :) On my Pi4 it classifies in 0.3s. the debug log on the module page show 1.52s in total as it needs to load everything each time into memory, but I think it's acceptable.

/Chris

Alex-developer commented 11 months ago

Hehe, ok good point :) On my Pi4 it classifies in 0.3s. the debug log on the module page show 1.52s in total as it needs to load everything each time into memory, but I think it's acceptable.

/Chris

0.3 is pretty damn good :-)

I have been thinking about having a separate process running that can take requests from a module, process them in parallel and then the next time the module runs it could pick them up - Probably as some form of REST interface

Lets chat when I am back

Cheers

Alex

Alex-developer commented 11 months ago

Chris

I am back now and will test this at the weekend.

Where can I download the trained files from so I can test?

Invite link for discord https://discord.gg/KYKVd75q