by Ftuuky · 6y ago · 0 comments
I have a raspberry pi and picamera and wanted to detect the pigeons in my balcony and then play a sound or something to shoo them away.
But it's going nowhere, I'm too dumb to even start properly :(
- Nvidia and CUDA stuff is so hard, I can't set it up properly no matter what
- Tried YOLO but without CUDA and OpenCV I can't run it in video. Don't know how to fix it
- Tried to copy other projects but can't find anything that I can parse with my amateur brain. I get lost and doesn't matter how many youtube videos I watch or stackoverflow pages I check, it's errors after errors after errors.
- Tried in windows but that's not viable. Installing Ubuntu nearly broke my pc and somehow a virtualbox messes up the whole thing. Currently looking at this.
So yeah big mess, I'm way over my head and it's not fun anymore. But I still want to shoo away the pigeons and love the idea of learning more about DL/CV but guess I need to learn about the basics first, practice in other things before doing this.
Do the first lesson of Fastai’s Practical Deep Learning for Coders — https://course.fast.ai/
It explains that trying to use your own GPU takes a lot of energy that you should focus elsewhere when you’re getting started.
Paperspace Gradient (referenced in the link) offers free Jupyter Notebooks with GPU’s you can use for 6 hours at a time (and re-start when they expire). You can get a classifier that distinguishes dog breeds up and running in less than a day and probably a few hours if you just watch the video and follow along with the notebook.
It's not you. I have decades of Linux development experience, I've developed machine vision systems before, and I have a doctorate. And twice I've given up in frustration while trying to just get the CUDA drivers installed.
I honestly don't know why nvidia hasn't made it simpler.
What's your background?
My background is anthropology but I've always worked as a data analyst (read: excel guy) but got "promoted" as project manager for a team that has some data scientist doing automation projects and got interested in CV and NLP. I know python but for data analytics (pandas, seaborn, scikit, and so on) but never did anything for myself in DL and just wanted to learn more while building something (I miss doing stuff besides slideware tasks).
Regarding virtualbox, I will probably give up and look again into dual boot Linux. Will ask a friend that is an experienced coder to hold my hand while I do that.
Thanks for your reply!
I recommend starting with a pre-trained model (COCO, for instance) and finetuning for your images. However, even with finetuning you probably need > 10k images to get good results.
After the success of this POC, you can gather about 1000 images of pigeons together with transfer learning, again on the same pre trained COCO model.
https://medium.com/object-detection-using-tensorflow-and-coc...