run in google colab
friend, could you provide it as an ipynb file to run in colab, or how could I run it in colab, please
Hi @GabrielBR , here's a Colab notebook showing how to run our models:
https://colab.research.google.com/drive/1Cg05e_Nxl1vhV6JZQjkD8vSQnQ8-6eX0?usp=sharing
Cheers
friend, this error is occurring, is there a video teaching how to execute it?
FileNotFoundError Traceback (most recent call last)
/tmp/ipykernel_36/158458528.py in <cell line: 0>()
1 from PIL import Image
2
----> 3 image = Image.open("example_1.png").convert("RGB")
4 upscaled_image = upscale(image, "modelx4.ort")
/usr/local/lib/python3.11/dist-packages/PIL/Image.py in open(fp, mode, formats)
3503
3504 if filename:
-> 3505 fp = builtins.open(filename, "rb")
3506 exclusive_fp = True
3507 else:
FileNotFoundError: [Errno 2] No such file or directory: 'example_1.png'
@GabrielBR , we don't have a video. The error pertains to a wrong image path. You have to upload the image you want to upscale to Google Colab, and then change the path to that image.
image = Image.open("YOUR_IMAGE").convert("RGB")