-
Notifications
You must be signed in to change notification settings - Fork 13
How to Obtain RGB Output in the Code? #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Similar question here, I notice that the repo provides dataset with single-channel images for testing (Set11), but not other datasets with RGB images, how can I do the test with RGB images? |
from diffusers import StableDiffusionPipeline Could you please let me know if you used these lines of code directly? I am unable to load the model with this code. How did you handle it? Please help me |
Please ensure that the ‘HF_ENDPOINT=https://hf-mirror.com’ environment variable is correctly configured during runtime,this mirror is typically accessible and in China. If the issue persists after setting it, please provide more detailed error information. |
(IDM) PS D:\model\IDM-main> python test.py The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): 你好,这是我添加完环境变量之后的报错,仍然是无法从远端加载模型。请你帮我看一下这是什么原因 |
@lyz140204842 @seabro917 Thanks for your interest in our work! Currently, this repo focuses primarily on the Y-channel for compressive sensing tasks, and we haven't included direct support for RGB images yet. If you'd like to experiment with RGB images, one approach is to reshape the RGB data from the format (b, 3, h, w) into (b*3, 1, h, w), treating each RGB channel as a separate grayscale batch. This way, you can directly apply the existing compressive sensing pipeline (sampling matrix multiplication and transpose operation) without major changes. Unfortunately, due to our current workload and limited resources, we don't have plans to extend and release dedicated RGB support in the near future. But please feel free to explore the approach mentioned above, and we'll be happy to help if you have further questions. Thanks again for your understanding! |
Thanks for making your code publicly available. In your paper you report results related to RGB images, and here you say that your code does not support RGB maps. I wonder how you arrived at these results for RGB images in your paper? |
Thank you for sharing this code. I noticed that in your code, the inputs and outputs seem to retain only the luminance channel. How can I restore the RGB image in the code?
The text was updated successfully, but these errors were encountered: