ai-video-super-resolution
ai-video-super-resolution copied to clipboard
Shows internal server error
after launch solution in AWS global region. and after uploaded video in s3 bucket with file name 1.mp4 try to run following code and its throwing internal server error..
import requests import json
url='https://65ab94bo5e.execute-api.us-west-2.amazonaws.com/prod/'
payload = json.dumps({ "key": "1.mp4" })
headers = { 'Content-Type': 'application/json' }
response = requests.request("POST", url, headers=headers, data=payload) print(response.text)
Can you send me the logs of AWS lambda?
This is what i found in AWS logs..
[ERROR] TypeError: 'NoneType' object is not subscriptable Traceback (most recent call last): File "/var/task/split.py", line 45, in handler key = body['key']
I failed using the sample events, but changing the event to look like this: { "body": { "key": "MyVideo.mp4", "scale": "4", "task": "inference" } } at least it start processing
Is it successfully executed? i mean video convert to high resolution or not??
I have successfully converted a video in 360x240 with x4, and a full HD video to 4k, the results in level of detail is actually impressive. Motion blur and weak colors stay the same. Processing time was 25 minutes for 12 seconds of full HD video so I would say that cost wise it will be hard to justify. Collecting better quality video from the beginning should probably be your first option.
i am receiving rollback errors on the cloud formation// how is everyone else getting this template to work?
I'm experiencing the same issue. Tried modifying as suggested above with no luck. Please advise
the error is:
[ERROR] TypeError: 'NoneType' object is not subscriptable Traceback (most recent call last): File "/var/task/split.py", line 42, in handler key = body['key']
@jonashogstrom Can you tell us how to make this template work? Did you deploy it using AWS CloudFormation or Follow the steps at Readme.md? I also got an internal server error, we need to auth before sending any requests.
@Windsooon As far as I remember, the changes I mentioned in my post above from feb 8, 2022 was sufficient for me. I have since removed all traces of this experiment from my AWS account, so I can't check any details I'm afraid. To be honest, I don't remember how I set it up.