Learning-to-See-in-the-Dark
Learning-to-See-in-the-Dark copied to clipboard
error in test_Sony.py
after download and extract raw Sony data in dir dataset/Sony. run test_Sony.py got error at line 151: im = raw.postprocess(use_camera_wb=True, half_size=False, no_auto_bright=True, output_bps=16)
rawpy._rawpy.LibRawFatalError: b'Unsufficient memory' could you have met this? Appreciate for answer.
Never met this error before. How large is your RAM?
32Gb. I also run the code with another pc with 64Gb, got the error again.. it so confuse me.
@cchen156
I am not sure what the problem is because I am not able to reproduce the error. Can you try output_bps=8?
I received the same error. I changed the 'half_size' parameter to True and it worked. I don't understand why, because I have enough RAM on my computer.
My GPU memory is 12GB,the same error as you, i follow the danielberbece‘s advice,but the result is absolutely wrong
Maybe there is a bug in the new version of Rawpy. Which version did you use? @PeterStone007 @danielberbece @ninesun127
I am using 0.10.1 and I cannot reproduce the error.
0.11.0 it is a really terrible thing~
@cchen156 yeah,when i download the rawpy 0.10.1, there is no error when running。genuinely thanks for your patient reply.
as you said,there is a bug in the new version of Rawpy.
yes, downgrading from 0.11.0 to 0.10.0 solved the issue for me too
I believe this is an issue in LibRaw, which is what rawpy is using. See https://github.com/LibRaw/LibRaw/issues/171