Spaces:
Running
on
Zero
error when trying to edit
Hey there! Linoy from HF here ๐ค
This work is super cool, really excited to try it! I'm getting a weird error every time I try -
once I click generate it seems to work but when it's done processing it crashes.
I tried different images/prompts
Hi @linoyts ,
Thanks for your interest in our work! However, I can run the demo without error. Maybe you can firstly try the image and hyperparameters provided in our github (such as https://github.com/wangjiangshan0725/RF-Solver-Edit/blob/main/src/run_horse.sh) to see whether it can edit seccessfully?
To reproduce the result, we suggest to download the image from https://github.com/wangjiangshan0725/RF-Solver-Edit/blob/main/src/examples/source/horse.jpg. Then upload the image to this demo and set the value of hyperparameters according to https://github.com/wangjiangshan0725/RF-Solver-Edit/blob/main/src/run_horse.sh.
I will also check the code to find out if there is any bug.
The error might be caused by the image size being too large, leading to insufficient GPU memory. We suggest trying to downsample the image. If you want to edit the image at its original size, you can use the command-line tool provided in our GitHub repository. Setting offload=True in the command can significantly reduce GPU memory usage.