Closed sannypatel closed 4 years ago
Is it something expected or do we need something additional to make it run?
No, it should work. What's not working for you? Can you provide the exact command you're running and the --debug
output? Without that we won't be able to help much.
Below is my command output. I am using updated aws cli, and tried with the old version as well but no luck. It doesn't show in aws help as well. Same with start-project-version. And the service definition is also not available in the installed path in service-2 file. (C:\Program Files\Amazon\AWSCLI\runtime\Lib\site-packages\botocore\data\rekognition\2016-06-27\service-2.json).
PS D:\> aws rekognition detect-custom-labels --project-version-arn "arn:aws:rekognition:us-west-2:XXXXXXXXXX:project/rekog-rtest/version/rekog-rtest.2019-12-07T16.35.
53/12345678" --image "{"S3Object": {"Bucket": "MY_BUCKET","Name": "PATH_TO_MY_IMAGE"}}" --endpoint-url https://rekognition.us-west-2.amazonaws.com --region us-west-2
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: argument operation: Invalid choice, valid choices are:
compare-faces | create-collection
create-stream-processor | delete-collection
delete-faces | delete-stream-processor
describe-collection | describe-stream-processor
detect-faces | detect-labels
detect-moderation-labels | detect-text
get-celebrity-info | get-celebrity-recognition
get-content-moderation | get-face-detection
get-face-search | get-label-detection
get-person-tracking | index-faces
list-collections | list-faces
list-stream-processors | recognize-celebrities
search-faces | search-faces-by-image
start-celebrity-recognition | start-content-moderation
start-face-detection | start-face-search
start-label-detection | start-person-tracking
start-stream-processor | stop-stream-processor
help
PS D:\>
What version are you running?
$ aws --version
aws-cli/1.16.300 Python/3.7.3 Linux/4.14.152-127.182.amzn2.x86_64 botocore/1.13.36
Wowww.. Supernova.. ππππππ€ππ
Le lun. 9 dΓ©c. 2019 20 h 57, supernova1964 notifications@github.com a Γ©crit :
Hi,
The aws rekognition detect-custom-labels (and start-project-version) is not working on Windows aws cli. Is it something expected or do we need something additional to make it run?
β You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aws/aws-cli/issues/4744?email_source=notifications&email_token=AN367UUDC5HZXACFUDAIPNLQX3ZQPA5CNFSM4JYWI6U2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H7KG64A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN367URGV5GA34F6DMVA3GTQX3ZQPANCNFSM4JYWI6UQ .
Looks like that was added on Dec 4th so make sure you're at least version 1.16.297 or higher.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Hi,
The aws rekognition detect-custom-labels (and start-project-version) is not working on Windows aws cli. Is it something expected or do we need something additional to make it run?