wongcyrus / HowWhoFeelInVideo

MIT License
6 stars 4 forks source link

failed to run the demo #1

Open iwasnobody opened 7 years ago

iwasnobody commented 7 years ago

I found the extract image function store .jpg file on S3. While the following function try to find .png file on S3 which will popup error like no key found on S3.

wongcyrus commented 7 years ago

Please try enable X-ray as it is not on by default.

wongcyrus commented 7 years ago

The problem is in the first step that extracts video frame and you may check the Lambda log. You may see the problem related to X-ray.

wongcyrus commented 7 years ago

X-ray.docx Please follow this word documents to enable X-Ray.

tejeshwargrewal commented 6 years ago

Hello Cyrus,

I have enabled x-ray, and i am also getting same issue. When i go in processing it shows error : collection id student not found.

But when i pass code in cli it shows collection with id student.

'CollectionIds': ['facestore', 'student'], 'FaceModelVersions': ['2.0', '2.0'], 'ResponseMetadata': {'HTTPHeaders': {'connection': 'keep-alive', 'content-length': '75', 'content-type': 'application/x-amz-json-1.1', 'date': 'Thu, 01 Mar 2018 02:34:31 GMT', 'x-amzn-requestid': '12c9f606-1cf9-11e8-933d-f3253bdc093f'}

Can you help in debug this situation.

wongcyrus commented 6 years ago

You have to follow https://aws.amazon.com/blogs/machine-learning/analyze-emotion-in-video-frame-samples-using-amazon-rekognition-on-aws/ Deploying HowWhoFeelInVideo step 1 to create your image collection.

tejeshwargrewal commented 6 years ago

Thanks Cyrus, I have gone through many a times. Yesterday i changed environment parameter in process lambda it was written collectionId and corrected to CollectionId. Now it dont give error student not found. But processing still fails and error is unknow. With Yellow sign in xray.

tejeshwargrewal commented 6 years ago

Is there any possibility to share the aws credentials with you. And you can have a look what is common mistake everyone do even following tutorial step by step. Or there is a problem “ no such key found” in the program. I hope we can work on that part. If possible Please email me on g.tej@icloud.com i will share credentials and can work for finding actual cause.

Regards, Tej

wongcyrus commented 6 years ago

Can you share the exception stack to me have a look first? It is not a good idea to access your AWS account. Did you index add some photos in the index? To be honest, it should not be hard to rewrite it with the Rekognition Video https://aws.amazon.com/rekognition/video-features/?nc1=h_ls My students have moved to Rekognition Video.