- 43
- 40 895
Mixed Matrix Arts
Poland
Приєднався 7 січ 2020
I like computers. And wires.
Let's Build a Telegram Bot with Python
github: github.com/mcdominik/traffic-watchdog
Feel free to use this template for other purposes, not necessarily related with public transport :) Subscribe for more and hopefully, see you soon!
00:00 Intro
00:34 Non-tech explanation
01:43 Tech explanation & Code
5:26 How to run
Feel free to use this template for other purposes, not necessarily related with public transport :) Subscribe for more and hopefully, see you soon!
00:00 Intro
00:34 Non-tech explanation
01:43 Tech explanation & Code
5:26 How to run
Переглядів: 94
Відео
Learn Video Streaming with Raspberry Pi
Переглядів 605Місяць тому
Video quickly explains how to set up real-time stream from Raspberry Pi (with some basic tcp/udp explanations as well). 00:00 Intro 00:24 Basic theory 01:02 Set up 3:22 Result
Temperature Explained in 2minutes
Переглядів 107Місяць тому
00:00 Non-tech explanation 00:35 Tech explanation
Raspberry Pi with DC Motors | Full Tutorial
Переглядів 5463 місяці тому
Practical example with explanation how to easily connect RPI with DC motors. If you have any question, feel free to ask;) 0:00 Intro 0:14 Set up 1:17 L298N driver 2:59 Python script overview
Don't do THIS at a Tech Interview
Переглядів 213 місяці тому
Is that a toothbrush? 0:00 Intro 0:27 first one 1:37 second one 2:11 third one 4:01 fourth one 4:25 sum up
Nest.js with OpenAI [2024]
Переглядів 3433 місяці тому
Step by step tutorial, how to built Nest.js & OpenAI app from scratch. 00:00 Intro 00:12 Basic setup 1:36 Service 3:05 Controller 3:34 Module 4:40 App setup 5:14 Results Code: github.com/mcdominik/source/tree/main/nest-openai-example-app Music: Song: LiQWYD - Night Out License: Creative Commons (CC BY 3.0) creativecommons.org/licenses/by/3.0 ua-cam.com/channels/RAaeHCLbUmltner4oShkTA.html Music...
How to Run Local LLM in 3minutes?
Переглядів 1615 місяців тому
Run your own LLM in literally 3minutes Links: hub.docker.com/r/ollama/ollama github.com/open-webui/open-webui #llama3 #ollama #docker
Why Python Requests S*cks
Переглядів 1376 місяців тому
let's talk about one of the most popular python libraries.. #pythonprogramming #python #webdevelopment
How to Run Docker with GPU?
Переглядів 2,4 тис.7 місяців тому
Speed up your container, easy and straightforward way! 00:00 Intro 00:20 Install docker 1:00 Install Nvidia roolkit 1:45 Run the container First website: docs.docker.com/engine/install/ubuntu/ Second website: docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html #docker #nvidia #machinelearning #gpu
Nest.js with Redis Caching [2024]
Переглядів 70810 місяців тому
Yo! Quick video about Nest.js with Redis caching and Jest testing (all in TypeScript). Code from the video available below:) github.com/mcdominik/source/tree/main/nest-redis-example-app 00:00 Intro 1:11 Set up 2:31 Tests 3:01 Results
Which Random Function Should You Use In PyTorch?
Переглядів 610 місяців тому
Learn PyTorch by small chunks Chart: www.fromthegenesis.com/probability-distribution-uniform/
Smart Doors Project with Raspberry Pi
Переглядів 3710 місяців тому
Smart Doors Project with Raspberry Pi
Let's Build Neural Network (No Libraries)
Переглядів 40011 місяців тому
Let's Build Neural Network (No Libraries)
Fire Detection YOLOv8 with Python (real time & custom data)
Переглядів 29 тис.Рік тому
Fire Detection YOLOv8 with Python (real time & custom data)
python generators in 4min (with practical example)
Переглядів 13Рік тому
python generators in 4min (with practical example)
great work
Nice! Btw, links to products and code?
Hlo
Can you please send me the code and result please
Hi, i am actually trying to implement low latency streaming. I try to use ffmpeg, but ffplay buffers video for around one second. I cannot find a way to remove this delay. Its clear that receiving part is buffering, because it is still running for a second when transmitter is killed. I use tcp.
Hi! Did you try with udp?
@@universityofthefuture2077 yes. The udp technically should be faster, but with unstable internet it bring very big video artifacts. Tcp makes it much clearer. My usage is for moving device, so it will use mobile network. Anyway, i will be trying with bare tcp for now, maybe ill reach the desired latency. If not, rtsp or webrtc.
going to be bandwidth limited for any real usage case, without any compression algorithm. and your isp will hate you if you get more than your few friends to stream it at once, without a hosting service. the proof of concept and tech knowledge is nice though.
tip from me: don't use bad word in first 15s of your video, its cut your range even trought you hide this word behind the sound effect
Noted, thanks!🫡
do you need nvidia driver on your computer or with nvidia docker works as api on docker ?
You need drivers on your host machine
Great instructions, loved the video. I am doing an amateur project and it would be awesome, if you would make a video how we can use remote GPUs over network to do the job?
Thanks;) What do you mean, “over the network” -> as your personal GPU station or using providers like AWS, Google etc?
@@universityofthefuture2077 I have some old GPUs running somewhere remote (from old bitcoin mining days haha) and i am looking for a way to use them on my computer (or VPS like you mentioned AWS) without being physically connected to my motherboard, lets say for training AI model. Did i answer your question? haha
Hyym, cant you just connect to this remote via ssh?
@@universityofthefuture2077 I dont know how, i searched youtube but no video explained it good for me. But this video was just perfect. Just an idea for next video i thought.
Helpful, Thanks.
Are you Portuguese dude ? 😊
I am not😛
Sir...i want this code and output..
check out video description for source code link:)
Thanks!
Awesome post! especially showing versions, lot of dependency conflicts with the caching libraries
thanks for showing versions
helpful video. Thanks!
great video! can i used the same coding on jupyter notebook?
Thanks! Sure, it’s public on my github:)
well you did not put the links later as you said lol
Never trust strangers on the internet..😆sorry my mistake, I added it minute ago, thanks:)
Does holding a plastic spoon give a false positive
Great video! Thanks for sharing it! Here's a question: could the small Yolo model be used directly on an ESP32Cam to detect a fire and set an alarm (as already covered in the comments below), send a message, etc.?
Thanks! You can easily export yolo to tflite format (details here: docs.ultralytics.com/integrations/tflite/#deployment-options-in-tflite). I’ve never done this, so I am not sure if ESP can handle it, but probably yes. Hover if your goal is just to make it run, it would be much easier to use rpi zero for example:)
Hi bro, thanks for responding so quickly!! I've tried several times and I can't get an alarm to sound when fire is detected. I used this code, but it doesn't work. Do you have any suggestions? # Function for fire detection and sound alert def detect_fire_and_alert(): # Initialize the YOLO model model = YOLO('best.pt') # Performs continuous fire detection whileTrue: # Perform the prediction results = model.predict(source=0, imgsz=320, conf=0.6, show=True) # Checks for fire detections for detection in results.pred: if 'fire' in detection['names']: # If fire is detected, plays an alert sound playsound("alarm_sound.mp3") break # Breaks the loop when fire is detected # Function call for fire detection and audible alert detect_fire_and_alert() I would be very grateful if you could help me. I need your help!!
Hi, now its late response, hah, but this snippet it’s quite unreadable, please provide some github repo
@@universityofthefuture2077 i already solve the problem but thanks 😉
@@universityofthefuture2077 guys can you help me please? a have a this problem to. Thanks
@@rodrigocorte5289 can you help me please? a have a this problem to. Thanks
@@rodrigocorte5289 can you help me please?i hame i same problem
Hey !! Is there any way to sound an alarm when a fire is detected? Please respond, I really need your help!!
Hi, what do you mean? You can add simple alarm with for example playsound library.
@@universityofthefuture2077 Hello and thanks for the quick response!! It's not that simple, I put an if to play sound when it detects fire but it doesn't work. I tried with this code : from ultralytics import YOLO from playsound import playsound # Função para detecção de fogo e alerta sonoro def detect_fire_and_alert(): # Inicializa o modelo YOLO model = YOLO('best.pt') # Realiza a detecção contínua de fogo while True: # Realiza a predição results = model.predict(source=0, imgsz=320, conf=0.6, show=True) # Verifica se há detecções de fogo for detection in results.pred: if 'fire' in detection['names']: # Se o fogo for detectado, reproduz um som de alerta playsound("alarm_sound.mp3") break # Interrompe o loop quando o fogo é detectado # Chamada da função para detecção de fogo e alerta sonoro detect_fire_and_alert() I can´t do it, could you help me with this
@@universityofthefuture2077 Hi bro, thanks for responding so quickly It's not that simple, I've already tried with this code and I'm not succeeding. from ultralytics import YOLO from playsound import playsound # Function for fire detection and sound alert def detect_fire_and_alert(): # Initialize the YOLO model model = YOLO('best.pt') # Performs continuous fire detection whileTrue: # Perform the prediction results = model.predict(source=0, imgsz=320, conf=0.6, show=True) # Checks for fire detections for detection in results.pred: if 'fire' in detection['names']: # If fire is detected, plays an alert sound playsound("alarm_sound.mp3") break # Breaks the loop when fire is detected # Function call for fire detection and audible alert detect_fire_and_alert() If you could help I would be very grateful
@@universityofthefuture2077 Hi bro, thanks for responding so quickly. This is not that simple. I've tried several times and still haven't managed to get an alarm to sound when it detects the fire. I used this code and I can't do it, do you have any suggestions? from ultralytics import YOLO from playsound import playsound # Function for fire detection and sound alert def detect_fire_and_alert(): # Initialize the YOLO model model = YOLO('best.pt') # Performs continuous fire detection whileTrue: # Perform the prediction results = model.predict(source=0, imgsz=320, conf=0.6, show=True) # Checks for fire detections for detection in results.pred: if 'fire' in detection['names']: # If fire is detected, plays an alert sound playsound("alarm_sound.mp3") break # Breaks the loop when fire is detected # Function call for fire detection and audible alert detect_fire_and_alert() I would be very grateful if you could help me. Bro i really need your help!!
@@universityofthefuture2077 Hi bro, thanks for responding so quickly!! I've tried several times and I can't get an alarm to sound when fire is detected. I used this code, but it doesn't work. Do you have any suggestions? # Function for fire detection and sound alert def detect_fire_and_alert(): # Initialize the YOLO model model = YOLO('best.pt') # Performs continuous fire detection whileTrue: # Perform the prediction results = model.predict(source=0, imgsz=320, conf=0.6, show=True) # Checks for fire detections for detection in results.pred: if 'fire' in detection['names']: # If fire is detected, plays an alert sound playsound("alarm_sound.mp3") break # Breaks the loop when fire is detected # Function call for fire detection and audible alert detect_fire_and_alert() I would be very grateful if you could help me. I need your help!!
Thanks for the video, very good explanation!!!
give me the url of yolov8 in colab please
how can get the bath of data
Why do you do the training in google collab and the prediction in your local environment ?
Prediction is quite fast even without gpu and real-time video streaming on Colab requires some additional set up:)
Hey i know this has nothing to do with this vid but here. help getting into machine learning, maybe RL given the following context. Essentially I want to apply it to robots,(Note scale 3d printed robots basically for now. Quad, 5-axis arm with LiDAR , and such). I plan on learning Python first but after that, machine learning. I want to know what I want when getting into a robotics project, just need to get into ML as fast as I can if possible then research what knowledge i lack if needed is there any course that let’s this possible? Is this a bad way to go about projects/ML?. Any resources you recommend? I’m tired of the generic learn all maths requirements before hopping on but I’ve seen people use ML that haven’t done half the math needed. Note* I have done Calc 1 and 2 a while back but not Linear Algebra* If the top post is too vague here Note* if it may help Projects I have interest in 1- A mouse that can be controlled multidirectional that can be used to play games(I’m guessing CompVi will be used here and some ML/RL) 2- A robot that can make certain move movements(fast/slow) to certain sounds like Afro and rap 3-An Ai/Ml that can be trained on a actors voice(I would like to do these training myself not snatch from a preexisting file) and the Ai conversations and reactions sound a lot like said actor. 3.5 - An Ai/ML that can be trained to draw in a certain way like make Harry Potter looking like a dragon ball character.
well done dawg
How come when downloading best.pt the main.py file is available
What do you mean :D ?
vscode you create ? time 3:45
I have changed the path according to my folders in google colab , but this line of code " !yolo task=detect mode=train model=yolov8s.pt data=/content/continuous_fire-6/data.yaml epochs=1 imgsz=640 plots=True" is showing the error like this "/bin/bash: line 1: yolo: command not found " plz tell me how to deal with it
Have you install all necessary packages?
Yes but, while importing yolo from ultralytics , it is showing a yellow underline below that I think its logical error
Maybe it’s different version of the package?
do you write all codes ??
showing the error of API KEy , when i paste the snippet from roboflow,,,
can you show the full error?
done @@universityofthefuture2077
How to download the run file to the device?
You can zip it, then download option should appear when you click three dots
where is best.pt file i can't find it
In my case it was in PROJECT/runs/detect/train/weights/best.pt, but if you are using different version of the ultralytics package, the path can be slightly different.
Thanks For This Tutorial Hope You Do More💚
Thank you sir . done a greate job sir☺
thanks bro, saved me
How many epochs make sense here?
Really depends on your goal. You should keep track of loss chart, if the curve stops going down, it's sign that probably further training is not going to make it better.
My image folders were in different spots than roboflow uses now so I changed the data.yaml file to: test: ./test/images train: ./train/images val: ./valid/images
I've followed what's in the video but I always fail
Hi, which part of the code fails?
try updating your paths to the image folders in data.yaml: test: ./test/images train: ./train/images val: ./valid/images
How to appear run folder in vs code?
After you run the script, the folder should be created automatically in the project root directory
@@universityofthefuture2077 alright thank youu, I will try it
I followed the same instructions but the webcam doesn't run for me. The webcam is activated and all. What can be the problem?
@@universityofthefuture2077 where to find the project root directory?
dorba robota, ale na krótko ci to starczy, nie naładujesz telefonu nawet do połowy
przynajmniej nie wyrzucił na ulice
code ?
github.com/mcdominik/simple-scripts/blob/master/cow.py
I'm ur first comment and I would say thaaaanks, i need it❤❤❤
Holy crap bro, this blew my mind, worked in win 11 😃
very cool!
short and clear video, thanks
Hi, great video. Is there a better dataset available in Roboflow than the one used in this video?
not a very in depth tutorial
dataset ?
universe.roboflow.com/-jwzpw/continuous_fire