-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues running train.py
with Ubuntu 20.04 with pip
#3
Comments
@kinow Thanks so much for the debugged information, I'm sure others will run into the same problem. Let me know if everything works as intended for you? And would love to see what you are working on |
It worked @thomasdavis : https://twitter.com/kinow/status/1318099405598126081 Next I will try to use it to find sea glass in images. Not too sure if that will work, but will let you know if that works 👍 |
Maybe we can add in the readme that error, and point to the alternative module if the error occurs? WDYT @thomasdavis ? |
I'm a bit busy tonight but happy to merge a PR. How did you find the tute? I can help you with the sea glass idea too if you have any questions. Is it for environmental reasons or something else? |
Done #4
So far my favorite. I never used Tensorflow, Keras, nor PyTorch. And most tutorials are long and boring :-) different than yours.
An, no special reason I guess. A friend tweeted about sea glasses. I translated it into Portuguese (pedras do mar), and it made no sense. I read its Wikipedia, and at that moment I was working on a library for image processing. So I thought it could be a good experiment to
Silly experiment, but I also never used OpenCV... And now my idea is to compare and understand whether instead of OpenCV if it would be simpler to label some images (both with that easy collectors-display stand, and random sea glass images) and create a PyTorch model. Probably a crazy train of thought, but I find experiments that are simple, and related to things in my memory help me more to undestand/learn/remember later. Thanks! |
Yeah I still haven't even figured out Tensorflow lol one sweet day... For your experiment;
And, I'm definitely in the same boat as you, I have been trying to learn ML for years and the aboriginal flag project inspired me to do it. And my latest one to learn text based ML was -> https://fake.jsonresume.org (https://github.com/jsonresume/jsonresume-fake) |
😄 same here
Perfect!
🤞
I think for a handful of images that should be fine. In case I end up running it with a lot of images, I may need to find an offline list to avoid hammering their website.
Never tried that! I bet if you apply with that CV it will receive a few calls from recruiters :) The closest I've used is natural language generation for bots and weather forecast (a co-worker wrote the code, but I had to maintain it, basically a decision tree with There might be something more clever way (neural net as in your example?) to consume an API like weatherunderground, metservice, bom, etc, and create the forecast based on past forecast data+text script. That would be a fun project too. |
Hi!
I started the tutorial with Ubuntu 18.04, but upgraded to 20.04. I had stopped just before running
python train.py
, so I guess it could be either the upgrade, or my previous environment was broken too?I am using a virtual env (
venv
Python module), and installed withpip install -r requirements.txt
. Modules list:Running the script, I'm getting:
I found this issue jabelone/OpenCV-for-Pi#10 (comment), and installing
opencv-contrib-python
fixed the issue for me.I think if I used the Conda package, it might have worked (as it would have installed the system libraries I think?). But with
pip
in anvenv
, it looks like theopencv-contrib-python
works better thanopencv-python
(which is a transitive dependency ofdetecto
).Created the issue just in case anyone is aware of what I should have done differently, or if someone else has a similar issue 👍
Thanks for the code & docs!!! 🎉
Bruno
The text was updated successfully, but these errors were encountered: