IBM Watson and Python for Visual Recognition - Part 1 - Image Classification

preview_player
Показать описание

Books I recommend to learn Machine Learning and Deep Learning:

Books I recommend for learning Python:

It helps me tremendously if you support these educational videos:

Connect with me:

Рекомендации по теме
Комментарии
Автор

When I try to classify an image, I always get the same error (no matter the url)

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\watson_developer_cloud\visual_recognition_v3.py", line 147, in classify
accept_json=True)
File "C:\Python27\lib\site-packages\watson_developer_cloud\watson_service.py", line 416, in request
info=error_info, httpResponse=response)
Error: No images were specified., Code: 400, X-dp-watson-tran-id: AlchemyAPI-PRD-DP01-106188480, X-global-transaction-id: c0b54f935ade0b3406544ec0

javierdelapaz
Автор

Hi Cristi! First things first, thanks for the tutorial.
I wonder if you might help me with an issue: in the python shell, when i try to run 'from watson_developer_cloud import etc' i got this error: 'Import Error: no moduel named watson_developer_cloud'. You got any ideas what could i be doing wrong?

lucadambrosio
Автор

Hi Cristi, How count number person in image? Tks

mariosilva
Автор

Hi Cristi,

I'm having trouble with the last step, when using "images_url", I get an message saying "TypeError: classify() got an unexpected keyword argument 'images_url'"

I'm using a mac. Would appreciate if you could help!

/ Lea

leazuna
Автор

As I am following the steps you explained in the video I am getting the invalid api key error again and again. Complete detail of error is as follows
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\watson_developer_cloud\visual_recognition_v3.py", line 169, in classify
accept_json=True)
File "C:\Python27\lib\site-packages\watson_developer_cloud\watson_service.py", line 468, in request
info=error_info, httpResponse=response)
Error: invalid-api-key, Code: 403
kindly suggest a solution. Thank you

MuhammadBilal-ylft
Автор

Hi ...
I need your help, I can´t install pip3 watson developer cloud. how I can install ? thanks.

moroujmakhlouf
Автор

The api_key is available, but got this error.


Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Anaconda2\lib\site-packages\watson_developer_cloud\visual_recognition_v3.py", line 169, in classify
accept_json=True)
File "D:\Anaconda2\lib\site-packages\watson_developer_cloud\watson_service.py", line 472, in request
info=error_info, httpResponse=response)
Error: invalid-api-key, Code: 403

任萌
Автор

Hi how are you? i need you help, i can´t install pip3 watson developer cloud. how i can install ? thanks.
sorry for my english

soundwaveofdark
Автор

how do you use an image of your pc instead of a url?

kieranthomasdavidwright
Автор

Can someone please help me??? I cannot find visual recognition service on the catalog.

soumikrakshit
Автор

Is this project based on python inside bluemix? Or it is on local machine?

danielaguerrakunze
Автор

TypeError: __init__() got an unexpected keyword argument 'api_key'
Please help me with this.

AkshayPramod
Автор

hi! i got this error:
WatsonApiException: Error: No images were specified., Code: 400

akshaynarasimhan
Автор

Hi, Loved your video. Can u help me installing the watson. when i try the pip3 install command I am getting the following errors:


Failed building wheel for Twisted



Command ""c:\users\akshay -u -c "import setuptools, tokenize;__file__='C:\\Users\\AKSHAY~1\\AppData\\Local\\Temp\\pip-install-vu6kyty_\\Twisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record --compile" failed with error code 1 in

im new to programming. So please bear with me if the question is stupid.

AKSHAYNARASIMHANSBME
Автор

I have an "(module) object not callable

jorgemunozcassagne
join shbcf.ru